Blender  V2.93
Public Attributes | List of all members
DRWView Struct Reference

#include <draw_manager.h>

Public Attributes

struct DRWViewparent
 
DRWViewUboStorage storage
 
int clip_planes_len
 
bool is_dirty
 
bool is_inverted
 
uint32_t culling_mask
 
BoundBox frustum_corners
 
BoundSphere frustum_bsphere
 
float frustum_planes [6][4]
 
DRWCallVisibilityFnvisibility_fn
 
void * user_data
 

Detailed Description

Definition at line 403 of file draw_manager.h.

Member Data Documentation

◆ clip_planes_len

int DRWView::clip_planes_len

Number of active clipplanes.

Definition at line 409 of file draw_manager.h.

Referenced by drw_state_set().

◆ culling_mask

uint32_t DRWView::culling_mask

Culling

Definition at line 415 of file draw_manager.h.

◆ frustum_bsphere

BoundSphere DRWView::frustum_bsphere

Definition at line 417 of file draw_manager.h.

◆ frustum_corners

BoundBox DRWView::frustum_corners

Definition at line 416 of file draw_manager.h.

◆ frustum_planes

float DRWView::frustum_planes[6][4]

Definition at line 418 of file draw_manager.h.

◆ is_dirty

bool DRWView::is_dirty

Does culling result needs to be updated.

Definition at line 411 of file draw_manager.h.

Referenced by drw_draw_pass_ex().

◆ is_inverted

bool DRWView::is_inverted

Does facing needs to be reversed?

Definition at line 413 of file draw_manager.h.

Referenced by draw_call_batching_finish(), draw_call_resource_bind(), and drw_draw_pass_ex().

◆ parent

struct DRWView* DRWView::parent

Parent view if this is a sub view. NULL otherwise.

Definition at line 405 of file draw_manager.h.

Referenced by DRW_view_create_sub().

◆ storage

DRWViewUboStorage DRWView::storage

Definition at line 407 of file draw_manager.h.

Referenced by DRW_pass_sort_shgroup_z(), and drw_update_view().

◆ user_data

void* DRWView::user_data

Definition at line 421 of file draw_manager.h.

◆ visibility_fn

DRWCallVisibilityFn* DRWView::visibility_fn

Custom visibility function.

Definition at line 420 of file draw_manager.h.


The documentation for this struct was generated from the following file: