Blender V4.3
DRWManager Struct Reference

#include <draw_manager_c.hh>

Public Attributes

DRWDatavmempool
 
DRWViewDataview_data_active
 
DRWResourceHandle ob_handle
 
bool ob_state_obinfo_init
 
DRWResourceHandle resource_handle
 
DRWResourceHandle pass_handle
 
DupliObjectdupli_source
 
Objectdupli_parent
 
Objectdupli_origin
 
IDdupli_origin_data
 
GHashdupli_ghash
 
DRWInstanceDataobject_instance_data [MAX_INSTANCE_DATA_SIZE]
 
void ** dupli_datas
 
GPUShadershader
 
blender::gpu::Batch * batch
 
DRWState state
 
DRWState state_lock
 
GPUViewportviewport
 
GPUFrameBuffer * default_framebuffer
 
float size [2]
 
float inv_size [2]
 
float pixsize
 
struct { 
 
   uint   is_select: 1 
 
   uint   is_material_select: 1 
 
   uint   is_depth: 1 
 
   uint   is_image_render: 1 
 
   uint   is_scene_render: 1 
 
   uint   draw_background: 1 
 
   uint   draw_text: 1 
 
options 
 
DRWContextState draw_ctx
 
DRWTextStore ** text_store_p
 
bool buffer_finish_called
 
bool in_progress
 
DRWViewview_default
 
DRWViewview_active
 
DRWViewview_previous
 
uint primary_view_num
 
uint select_id
 
TaskGraphtask_graph
 
GSetdelayed_extraction
 
void * system_gpu_context
 
GPUContextblender_gpu_context
 
TicketMutexsystem_gpu_context_mutex
 
GPUDrawList * draw_list
 
DRWDebugModule * debug
 

Detailed Description

Definition at line 595 of file draw_manager_c.hh.

Member Data Documentation

◆ batch

blender::gpu::Batch* DRWManager::batch

◆ blender_gpu_context

◆ buffer_finish_called

◆ debug

◆ default_framebuffer

GPUFrameBuffer* DRWManager::default_framebuffer

◆ delayed_extraction

GSet* DRWManager::delayed_extraction

◆ draw_background

◆ draw_ctx

◆ draw_list

GPUDrawList* DRWManager::draw_list

◆ draw_text

uint DRWManager::draw_text

Definition at line 648 of file draw_manager_c.hh.

Referenced by DRW_draw_view(), and DRW_state_show_text().

◆ dupli_datas

void** DRWManager::dupli_datas

Definition at line 624 of file draw_manager_c.hh.

Referenced by DRW_duplidata_get(), and drw_duplidata_load().

◆ dupli_ghash

GHash* DRWManager::dupli_ghash

Hash-map: DupliKey -> void pointer for each enabled engine.

Definition at line 620 of file draw_manager_c.hh.

Referenced by drw_duplidata_free(), and drw_duplidata_load().

◆ dupli_origin

Object* DRWManager::dupli_origin

Object referenced by the current dupli object.

Definition at line 616 of file draw_manager_c.hh.

Referenced by DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), drw_duplidata_load(), and DRW_render_object_iter().

◆ dupli_origin_data

ID* DRWManager::dupli_origin_data

Object-data referenced by the current dupli object.

Definition at line 618 of file draw_manager_c.hh.

Referenced by DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), drw_duplidata_load(), and DRW_render_object_iter().

◆ dupli_parent

Object* DRWManager::dupli_parent

◆ dupli_source

◆ in_progress

bool DRWManager::in_progress

True, when drawing is in progress, see DRW_draw_in_progress.

Definition at line 660 of file draw_manager_c.hh.

Referenced by DRW_draw_in_progress(), drw_manager_exit(), and drw_manager_init().

◆ inv_size

float DRWManager::inv_size[2]

◆ is_depth

uint DRWManager::is_depth

Definition at line 644 of file draw_manager_c.hh.

Referenced by DRW_draw_depth_loop(), DRW_state_is_depth(), and DRW_state_show_text().

◆ is_image_render

◆ is_material_select

uint DRWManager::is_material_select

Definition at line 643 of file draw_manager_c.hh.

Referenced by DRW_draw_select_loop(), and DRW_state_is_material_select().

◆ is_scene_render

◆ is_select

uint DRWManager::is_select

◆ ob_handle

◆ ob_state_obinfo_init

bool DRWManager::ob_state_obinfo_init

True if current DST.ob_state has its matching DRWObjectInfos init.

Definition at line 605 of file draw_manager_c.hh.

Referenced by drw_resource_handle().

◆ object_instance_data

DRWInstanceData* DRWManager::object_instance_data[MAX_INSTANCE_DATA_SIZE]

TODO(@fclem): try to remove usage of this.

Definition at line 622 of file draw_manager_c.hh.

Referenced by DRW_drawdata_ensure(), and drw_manager_init().

◆ [struct]

◆ pass_handle

DRWResourceHandle DRWManager::pass_handle

Handle of next DRWPass to be allocated.

Definition at line 609 of file draw_manager_c.hh.

Referenced by drw_manager_init(), and DRW_pass_create().

◆ pixsize

float DRWManager::pixsize

Definition at line 639 of file draw_manager_c.hh.

Referenced by drw_manager_init(), and DRW_viewport_pixelsize_get().

◆ primary_view_num

uint DRWManager::primary_view_num

Definition at line 665 of file draw_manager_c.hh.

Referenced by drw_manager_init(), and DRW_view_create().

◆ resource_handle

DRWResourceHandle DRWManager::resource_handle

Handle of current object resource in object resource arrays (DRWObjectMatrices/Infos).

Definition at line 607 of file draw_manager_c.hh.

Referenced by draw_unit_state_create(), drw_manager_init(), DRW_object_resource_id_get(), drw_resource_buffer_finish(), and drw_resource_handle_new().

◆ select_id

◆ shader

GPUShader* DRWManager::shader

Definition at line 627 of file draw_manager_c.hh.

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

◆ size

float DRWManager::size[2]

◆ state

◆ state_lock

DRWState DRWManager::state_lock

◆ system_gpu_context

◆ system_gpu_context_mutex

TicketMutex* DRWManager::system_gpu_context_mutex

◆ task_graph

◆ text_store_p

DRWTextStore** DRWManager::text_store_p

Definition at line 655 of file draw_manager_c.hh.

Referenced by drw_engines_cache_init(), and DRW_text_cache_ensure().

◆ view_active

◆ view_data_active

◆ view_default

◆ view_previous

DRWView* DRWManager::view_previous

Definition at line 664 of file draw_manager_c.hh.

Referenced by drw_draw_pass_ex(), drw_manager_init(), and DRW_view_reset().

◆ viewport

◆ vmempool

DRWData* DRWManager::vmempool

Definition at line 599 of file draw_manager_c.hh.

Referenced by blender::draw::TextureFromPool::acquire(), blender::draw::curves_sub_pass_setup_implementation(), draw_call_batching_finish(), draw_call_is_culled(), draw_call_resource_bind(), draw_compute_culling(), draw_legacy_matrix_update(), draw_unit_state_create(), draw_update_uniforms(), DRW_cache_restart(), drw_command_create(), DRW_custom_pipeline_begin(), DRW_custom_pipeline_end(), DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_id(), DRW_draw_select_loop(), DRW_drawdata_ensure(), drw_ensure_layer_attribute_buffer(), DRW_fluid_ensure_flags(), DRW_fluid_ensure_range_field(), drw_manager_exit(), drw_manager_init(), DRW_notify_view_update(), drw_notify_view_update_offscreen(), DRW_pass_create(), DRW_pass_sort_shgroup_z(), drw_register_shader_vlattrs(), DRW_render_instance_buffer_finish(), DRW_render_object_iter(), DRW_render_to_image(), drw_resource_handle(), drw_resource_handle_new(), DRW_shgroup_call_buffer(), DRW_shgroup_call_buffer_instance(), DRW_shgroup_call_ex(), DRW_shgroup_call_instances_with_attrs(), drw_shgroup_create_ex(), DRW_shgroup_create_sub(), blender::draw::DRW_shgroup_curves_create_sub(), drw_shgroup_material_texture(), drw_shgroup_uniform_create_ex(), DRW_smoke_ensure(), DRW_smoke_ensure_coba_field(), DRW_smoke_ensure_velocity(), DRW_texture_pool_query_2d_ex(), DRW_view_create(), DRW_view_create_sub(), drw_volume_object_grids_init(), blender::draw::drw_volume_object_mesh_init(), drw_volume_object_mesh_init(), blender::draw::TextureFromPool::release(), blender::draw::TextureFromPool::swap(), and blender::draw::volume_object_grids_init().


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