Blender V4.3
DRWContextState Struct Reference

#include <DRW_render.hh>

Public Attributes

ARegionregion
 
RegionView3Drv3d
 
View3Dv3d
 
SpaceLinkspace_data
 
Scenescene
 
ViewLayerview_layer
 
Objectobact
 
RenderEngineTypeengine_type
 
Depsgraph * depsgraph
 
TaskGraphtask_graph
 
eObjectMode object_mode
 
eGPUShaderConfig sh_cfg
 
const bContextevil_C
 
Objectobject_pose
 
Objectobject_edit
 

Detailed Description

Definition at line 914 of file DRW_render.hh.

Member Data Documentation

◆ depsgraph

◆ engine_type

◆ evil_C

◆ obact

◆ object_edit

◆ object_mode

◆ object_pose

◆ region

◆ rv3d

◆ scene

Scene* DRWContextState::scene

Definition at line 921 of file DRW_render.hh.

Referenced by blender::draw::overlay::Armatures::draw_armature_pose(), drw_batch_cache_generate_requested(), drw_batch_cache_generate_requested_evaluated_mesh_or_curve(), blender::draw::DRW_curves_pos_buffer_get(), DRW_custom_pipeline_begin(), DRW_draw_cursor(), DRW_draw_depth_loop(), DRW_draw_render_loop_2d_ex(), DRW_draw_render_loop_ex(), DRW_draw_select_id(), DRW_draw_select_loop(), DRW_engine_external_acquire_for_image_editor(), drw_ensure_layer_attribute_buffer(), DRW_hair_pos_buffer_get(), DRW_is_viewport_compositor_enabled(), DRW_notify_view_update(), drw_notify_view_update_offscreen(), DRW_object_is_visible_psys_in_active_context(), DRW_object_wire_theme_get(), blender::draw::drw_particle_update_ptcache(), blender::draw::drw_particle_update_ptcache_edit(), DRW_render_gpencil(), DRW_render_set_time(), DRW_render_to_image(), DRW_shader_from_material(), DRW_shader_from_world(), blender::draw::DRW_shgroup_curves_create_sub(), DRW_shgroup_hair_create_sub(), blender::draw::DRW_volume_batch_cache_get_wireframes_face(), eevee_engine_init(), external_draw_scene_do_image(), blender::draw::compositor::Context::get_node_tree(), blender::draw::compositor::Context::get_render_data(), blender::draw::compositor::Context::get_scene(), GPENCIL_cache_init(), GPENCIL_engine_init(), image_camera_background_matrix_get(), image_camera_background_texture_get(), blender::draw::image_engine::ImageEngine< DrawingMode >::image_sync(), blender::draw::overlay::Instance::init(), is_selection_visible(), OVERLAY_background_cache_init(), OVERLAY_camera_cache_populate(), OVERLAY_edit_gpencil_legacy_cache_init(), OVERLAY_edit_grease_pencil_cache_populate(), OVERLAY_edit_mesh_cache_init(), OVERLAY_edit_mesh_cache_populate(), OVERLAY_edit_particle_cache_init(), OVERLAY_edit_particle_cache_populate(), OVERLAY_edit_uv_cache_init(), OVERLAY_edit_uv_init(), OVERLAY_engine_init(), OVERLAY_extra_cache_populate(), OVERLAY_fade_cache_init(), OVERLAY_gpencil_legacy_cache_init(), OVERLAY_grease_pencil_cache_init(), OVERLAY_grease_pencil_material_names(), OVERLAY_grid_init(), OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_outline_cache_populate(), OVERLAY_paint_cache_init(), OVERLAY_particle_cache_init(), OVERLAY_sculpt_grease_pencil_cache_populate(), OVERLAY_vertex_grease_pencil_cache_populate(), OVERLAY_weight_grease_pencil_cache_populate(), OVERLAY_wireframe_cache_populate(), blender::draw::particle_batch_cache_ensure_pos(), select_cache_init(), and blender::draw::color_management::viewport_color_management_set().

◆ sh_cfg

eGPUShaderConfig DRWContextState::sh_cfg

Definition at line 935 of file DRW_render.hh.

Referenced by basic_cache_init(), drw_context_state_init(), drw_manager_init(), OVERLAY_shader_armature_degrees_of_freedom_solid(), OVERLAY_shader_armature_degrees_of_freedom_wire(), OVERLAY_shader_armature_envelope(), OVERLAY_shader_armature_shape(), OVERLAY_shader_armature_shape_wire(), OVERLAY_shader_armature_sphere(), OVERLAY_shader_armature_stick(), OVERLAY_shader_armature_wire(), OVERLAY_shader_depth_only(), OVERLAY_shader_edit_curve_handle(), OVERLAY_shader_edit_curve_point(), OVERLAY_shader_edit_curve_wire(), OVERLAY_shader_edit_curves_handle(), OVERLAY_shader_edit_gpencil_guide_point(), OVERLAY_shader_edit_gpencil_point(), OVERLAY_shader_edit_gpencil_wire(), OVERLAY_shader_edit_lattice_point(), OVERLAY_shader_edit_lattice_wire(), OVERLAY_shader_edit_mesh_analysis(), OVERLAY_shader_edit_mesh_depth(), OVERLAY_shader_edit_mesh_edge(), OVERLAY_shader_edit_mesh_face(), OVERLAY_shader_edit_mesh_facedot(), OVERLAY_shader_edit_mesh_normal(), OVERLAY_shader_edit_mesh_skin_root(), OVERLAY_shader_edit_mesh_vert(), OVERLAY_shader_edit_particle_point(), OVERLAY_shader_edit_particle_strand(), OVERLAY_shader_extra(), OVERLAY_shader_extra_grid(), OVERLAY_shader_extra_groundline(), OVERLAY_shader_extra_loose_point(), OVERLAY_shader_extra_point(), OVERLAY_shader_extra_wire(), OVERLAY_shader_facing(), OVERLAY_shader_gpencil_canvas(), OVERLAY_shader_image(), OVERLAY_shader_motion_path_line(), OVERLAY_shader_motion_path_vert(), OVERLAY_shader_outline_prepass(), OVERLAY_shader_outline_prepass_curves(), OVERLAY_shader_outline_prepass_gpencil(), OVERLAY_shader_outline_prepass_pointcloud(), OVERLAY_shader_paint_face(), OVERLAY_shader_paint_point(), OVERLAY_shader_paint_texture(), OVERLAY_shader_paint_vertcol(), OVERLAY_shader_paint_weight(), OVERLAY_shader_paint_wire(), OVERLAY_shader_particle_dot(), OVERLAY_shader_particle_shape(), OVERLAY_shader_sculpt_curves_cage(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_uniform_color_pointcloud(), OVERLAY_shader_viewer_attribute_curve(), OVERLAY_shader_viewer_attribute_curves(), OVERLAY_shader_viewer_attribute_mesh(), OVERLAY_shader_viewer_attribute_pointcloud(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), select_cache_init(), and select_engine_init().

◆ space_data

◆ task_graph

TaskGraph* DRWContextState::task_graph

Definition at line 931 of file DRW_render.hh.

◆ v3d

View3D* DRWContextState::v3d

Definition at line 918 of file DRW_render.hh.

Referenced by basic_cache_populate(), drw_context_state_init(), DRW_draw_callbacks_post_scene(), DRW_draw_depth_loop(), DRW_draw_render_loop_ex(), DRW_draw_select_id(), DRW_draw_select_loop(), drw_draw_show_annotation(), drw_engines_draw_text(), drw_engines_enable(), DRW_is_viewport_compositor_enabled(), DRW_notify_view_update(), drw_notify_view_update_offscreen(), DRW_object_is_renderable(), DRW_render_object_iter(), DRW_state_draw_support(), eevee_engine_init(), external_cache_init(), external_draw_scene_do(), get_camera_for_motion_path(), GPENCIL_cache_init(), GPENCIL_engine_init(), image_camera_background_texture_get(), blender::draw::overlay::Instance::init(), is_cursor_visible(), is_selection_visible(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_draw_scene(), OVERLAY_edit_curve_cache_init(), OVERLAY_edit_curves_init(), OVERLAY_edit_gpencil_legacy_cache_init(), OVERLAY_edit_grease_pencil_cache_init(), OVERLAY_edit_grease_pencil_cache_populate(), OVERLAY_edit_mesh_cache_init(), OVERLAY_edit_mesh_cache_populate(), OVERLAY_edit_mesh_init(), OVERLAY_edit_text_cache_init(), OVERLAY_engine_init(), OVERLAY_facing_cache_init(), OVERLAY_fade_cache_init(), OVERLAY_gpencil_legacy_cache_init(), OVERLAY_grease_pencil_cache_init(), OVERLAY_grid_init(), OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_next_engine_init(), OVERLAY_paint_cache_init(), OVERLAY_paint_init(), OVERLAY_wireframe_cache_init(), select_cache_init(), select_cache_populate(), SELECT_next_engine_init(), blender::draw::Manager::submit(), and blender::draw::color_management::viewport_color_management_set().

◆ view_layer


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