Blender  V3.3
Public Attributes | List of all members
DRWView Struct Reference

#include <draw_manager.h>

Public Attributes

struct DRWViewparent
 
ViewInfos 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
 
voiduser_data
 

Detailed Description

Definition at line 432 of file draw_manager.h.

Member Data Documentation

◆ clip_planes_len

int DRWView::clip_planes_len

Number of active clip planes.

Definition at line 438 of file draw_manager.h.

Referenced by drw_state_set().

◆ culling_mask

uint32_t DRWView::culling_mask

Culling

Definition at line 444 of file draw_manager.h.

◆ frustum_bsphere

BoundSphere DRWView::frustum_bsphere

Definition at line 446 of file draw_manager.h.

◆ frustum_corners

BoundBox DRWView::frustum_corners

Definition at line 445 of file draw_manager.h.

◆ frustum_planes

float DRWView::frustum_planes[6][4]

Definition at line 447 of file draw_manager.h.

◆ is_dirty

bool DRWView::is_dirty

Does culling result needs to be updated.

Definition at line 440 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 442 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 434 of file draw_manager.h.

Referenced by DRW_view_create_sub().

◆ storage

ViewInfos DRWView::storage

Definition at line 436 of file draw_manager.h.

Referenced by drw_draw_pass_ex(), DRW_pass_sort_shgroup_z(), and drw_update_view().

◆ user_data

void* DRWView::user_data

Definition at line 450 of file draw_manager.h.

◆ visibility_fn

DRWCallVisibilityFn* DRWView::visibility_fn

Custom visibility function.

Definition at line 449 of file draw_manager.h.


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