Blender
V3.3
|
#include <DRW_render.h>
Public Attributes | |
struct ARegion * | region |
struct RegionView3D * | rv3d |
struct View3D * | v3d |
struct SpaceLink * | space_data |
struct Scene * | scene |
struct ViewLayer * | view_layer |
struct Object * | obact |
struct RenderEngineType * | engine_type |
struct Depsgraph * | depsgraph |
struct TaskGraph * | task_graph |
eObjectMode | object_mode |
eGPUShaderConfig | sh_cfg |
const struct bContext * | evil_C |
struct Object * | object_pose |
struct Object * | object_edit |
Definition at line 972 of file DRW_render.h.
struct Depsgraph* DRWContextState::depsgraph |
Definition at line 987 of file DRW_render.h.
Referenced by camera_view3d_reconstruction(), DRW_cache_gpencil_face_wireframe_get(), DRW_draw_callbacks_post_scene(), DRW_draw_depth_loop(), DRW_object_is_visible_psys_in_active_context(), drw_particle_get_hair_source(), drw_particle_update_ptcache(), drw_particle_update_ptcache_edit(), EEVEE_bloom_init(), eevee_cache_finish(), EEVEE_depth_of_field_init(), eevee_engine_init(), EEVEE_lightprobes_cache_finish(), EEVEE_lightprobes_cache_init(), EEVEE_lightprobes_init(), EEVEE_lightprobes_refresh(), EEVEE_lookdev_cache_init(), EEVEE_occlusion_init(), eevee_render_to_image(), EEVEE_screen_raytrace_init(), EEVEE_subsurface_cache_init(), EEVEE_temporal_sampling_init(), EEVEE_volumes_init(), external_draw_scene_do_image(), external_draw_scene_do_v3d(), GPENCIL_cache_init(), GPENCIL_cache_populate(), GPENCIL_render_to_image(), image_camera_background_texture_get(), motion_path_cache(), OVERLAY_camera_cache_populate(), OVERLAY_edit_particle_cache_populate(), OVERLAY_edit_uv_cache_init(), OVERLAY_edit_uv_init(), OVERLAY_engine_init(), OVERLAY_extra_cache_populate(), OVERLAY_gpencil_color_names(), OVERLAY_grid_init(), particle_batch_cache_ensure_pos(), and workbench_render().
struct RenderEngineType* DRWContextState::engine_type |
Definition at line 985 of file DRW_render.h.
Referenced by external_draw_scene_do_v3d().
const struct bContext* DRWContextState::evil_C |
Last resort (some functions take this as an arg so we can't easily avoid). May be NULL when used for selection or depth buffer.
Definition at line 997 of file DRW_render.h.
Referenced by blender::draw::image_engine::ImageEngine< DrawingMode >::cache_populate(), drw_deferred_shader_add(), DRW_draw_callbacks_post_scene(), DRW_draw_callbacks_pre_scene(), DRW_draw_gizmo_2d(), DRW_draw_gizmo_3d(), DRW_draw_region_info(), DRW_draw_render_loop_2d_ex(), DRW_draw_render_loop_ex(), drw_sculpt_generate_calls(), DRW_state_is_playback(), EEVEE_lightprobes_cache_finish(), EEVEE_temporal_sampling_init(), EEVEE_volumes_init(), external_draw_scene(), external_draw_scene_do_image(), external_draw_scene_do_v3d(), GPENCIL_cache_init(), and workbench_color_type_get().
struct Object* DRWContextState::obact |
Definition at line 983 of file DRW_render.h.
Referenced by draw_armature_pose(), drw_batch_cache_generate_requested(), drw_batch_cache_generate_requested_evaluated_mesh_or_curve(), drw_call_obinfos_init(), drw_context_state_init(), GPENCIL_cache_init(), GPENCIL_engine_init(), gpencil_sbuffer_stroke_ensure(), is_cursor_visible(), OVERLAY_armature_is_pose_mode(), OVERLAY_cache_populate(), OVERLAY_edit_gpencil_cache_init(), OVERLAY_edit_uv_cache_init(), OVERLAY_engine_init(), OVERLAY_gpencil_cache_init(), OVERLAY_paint_init(), select_cache_init(), workbench_color_type_get(), and workbench_private_data_init().
struct Object* DRWContextState::object_edit |
Definition at line 1003 of file DRW_render.h.
Referenced by basic_cache_populate(), drw_batch_cache_generate_requested(), drw_batch_cache_generate_requested_evaluated_mesh_or_curve(), drw_context_state_init(), drw_manager_init(), DRW_object_is_renderable(), DRW_object_is_visible_psys_in_active_context(), EEVEE_cryptomatte_particle_hair_cache_populate(), EEVEE_particle_hair_cache_populate(), blender::eevee::Instance::object_sync(), OVERLAY_edit_uv_init(), OVERLAY_engine_init(), and workbench_private_data_init().
eObjectMode DRWContextState::object_mode |
Definition at line 991 of file DRW_render.h.
Referenced by draw_armature_pose(), drw_batch_cache_generate_requested(), drw_batch_cache_generate_requested_evaluated_mesh_or_curve(), drw_context_state_init(), DRW_object_wire_theme_get(), is_cursor_visible(), OVERLAY_armature_cache_init(), OVERLAY_armature_is_pose_mode(), OVERLAY_cache_populate(), OVERLAY_edit_gpencil_cache_init(), OVERLAY_edit_uv_cache_init(), overlay_edit_uv_cache_populate(), OVERLAY_edit_uv_init(), OVERLAY_engine_init(), OVERLAY_extra_cache_populate(), and workbench_private_data_init().
struct Object* DRWContextState::object_pose |
Definition at line 1002 of file DRW_render.h.
Referenced by draw_armature_pose(), drw_context_state_init(), DRW_draw_select_loop(), OVERLAY_armature_cache_init(), and OVERLAY_armature_is_pose_mode().
struct ARegion* DRWContextState::region |
Definition at line 974 of file DRW_render.h.
Referenced by blender::draw::image_engine::ScreenSpaceDrawingMode< TextureMethod >::cache_image(), blender::draw::image_engine::ImageEngine< DrawingMode >::cache_init(), blender::draw::image_engine::ImageEngine< DrawingMode >::cache_populate(), DRW_draw_callbacks_post_scene(), DRW_draw_callbacks_pre_scene(), DRW_draw_cursor(), DRW_draw_cursor_2d(), DRW_draw_depth_loop(), DRW_draw_gizmo_2d(), DRW_draw_gizmo_3d(), DRW_draw_region_info(), DRW_draw_render_loop_2d_ex(), DRW_draw_render_loop_ex(), DRW_draw_select_id(), DRW_draw_select_loop(), drw_engines_draw_text(), drw_manager_init(), DRW_notify_view_update(), drw_notify_view_update_offscreen(), eevee_engine_init(), EEVEE_lookdev_init(), external_draw_scene_do_v3d(), external_engine_init(), gpencil_sbuffer_stroke_ensure(), OVERLAY_edit_mesh_cache_populate(), OVERLAY_grid_init(), and select_engine_init().
struct RegionView3D* DRWContextState::rv3d |
Definition at line 975 of file DRW_render.h.
Referenced by basic_cache_populate(), drw_context_state_init(), DRW_draw_callbacks_post_scene(), DRW_draw_callbacks_pre_scene(), drw_manager_init(), drw_sculpt_generate_calls(), DRW_state_is_navigating(), EEVEE_depth_of_field_init(), eevee_engine_init(), EEVEE_materials_cache_populate(), external_draw_scene_do_v3d(), GPENCIL_cache_init(), GPENCIL_engine_init(), OVERLAY_background_cache_init(), OVERLAY_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_edit_mesh_init(), OVERLAY_edit_text_cache_init(), OVERLAY_engine_init(), OVERLAY_facing_cache_populate(), OVERLAY_fade_cache_populate(), OVERLAY_grid_init(), OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_image_init(), OVERLAY_mode_transfer_cache_populate(), OVERLAY_outline_cache_populate(), OVERLAY_sculpt_cache_populate(), OVERLAY_wireframe_cache_populate(), OVERLAY_wireframe_init(), select_cache_init(), select_engine_init(), workbench_color_type_get(), workbench_dof_engine_init(), and workbench_private_data_init().
struct Scene* DRWContextState::scene |
Definition at line 979 of file DRW_render.h.
Referenced by blender::draw::image_engine::ImageEngine< DrawingMode >::cache_populate(), draw_armature_pose(), drw_batch_cache_generate_requested(), drw_batch_cache_generate_requested_evaluated_mesh_or_curve(), DRW_curves_pos_buffer_get(), DRW_curves_texture_for_evaluated_attribute(), DRW_custom_pipeline(), DRW_draw_cursor(), DRW_draw_depth_loop(), DRW_engine_external_acquire_for_image_editor(), DRW_hair_pos_buffer_get(), DRW_mball_batch_cache_pos_vertbuf_get(), DRW_metaball_batch_cache_get_edge_detection(), DRW_metaball_batch_cache_get_triangles_with_normals(), DRW_metaball_batch_cache_get_wireframes_face(), DRW_object_is_visible_psys_in_active_context(), drw_particle_update_ptcache(), drw_particle_update_ptcache_edit(), DRW_render_gpencil(), DRW_render_set_time(), DRW_render_to_image(), DRW_shader_from_material(), DRW_shader_from_world(), DRW_shgroup_curves_create_sub(), DRW_shgroup_hair_create_sub(), DRW_volume_batch_cache_get_wireframes_face(), EEVEE_cache_populate(), eevee_draw_scene(), eevee_engine_init(), eevee_light_setup(), EEVEE_lightprobes_cache_finish(), EEVEE_lightprobes_cache_init(), EEVEE_lookdev_cache_init(), eevee_lookdev_hdri_preview_init(), EEVEE_materials_cache_init(), EEVEE_materials_cache_populate(), EEVEE_materials_init(), EEVEE_mist_output_init(), EEVEE_motion_blur_cache_init(), EEVEE_motion_blur_init(), EEVEE_renderpasses_init(), EEVEE_temporal_sampling_matrices_calc(), EEVEE_volumes_cache_init(), external_draw_scene_do_image(), GPENCIL_cache_init(), GPENCIL_engine_init(), gpencil_sbuffer_cache_populate(), gpencil_sbuffer_cache_populate_fast(), gpencil_sbuffer_stroke_ensure(), image_camera_background_matrix_get(), image_camera_background_texture_get(), material_opaque(), material_shadow(), material_transparent(), OVERLAY_background_cache_init(), OVERLAY_camera_cache_populate(), OVERLAY_edit_gpencil_cache_init(), 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_cache_init(), OVERLAY_grid_init(), OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_paint_cache_init(), OVERLAY_particle_cache_init(), particle_batch_cache_ensure_pos(), request_attribute(), select_cache_init(), blender::draw::color_management::viewport_color_management_set(), workbench_antialiasing_sample_count_get(), workbench_cache_hair_populate(), workbench_cache_texpaint_populate(), workbench_cavity_data_update(), workbench_cavity_samples_ubo_ensure(), workbench_private_data_init(), and workbench_shadow_data_update().
eGPUShaderConfig DRWContextState::sh_cfg |
Definition at line 993 of file DRW_render.h.
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_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_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_selection(), OVERLAY_shader_sculpt_mask(), OVERLAY_shader_uniform_color(), OVERLAY_shader_wireframe(), OVERLAY_shader_wireframe_select(), select_cache_init(), select_engine_init(), and workbench_private_data_init().
struct SpaceLink* DRWContextState::space_data |
Definition at line 977 of file DRW_render.h.
Referenced by DRW_draw_cursor_2d(), DRW_draw_render_loop_2d_ex(), drw_draw_show_annotation(), DRW_engine_external_acquire_for_image_editor(), drw_engines_enable_editors(), external_cache_init(), external_cache_populate(), external_draw_scene_do(), external_image_space_matrix_set(), is_cursor_visible_2d(), OVERLAY_edit_uv_cache_init(), OVERLAY_edit_uv_init(), OVERLAY_engine_init(), OVERLAY_grid_init(), blender::draw::image_engine::space_accessor_from_context(), and blender::draw::color_management::viewport_color_management_set().
struct TaskGraph* DRWContextState::task_graph |
Definition at line 989 of file DRW_render.h.
struct View3D* DRWContextState::v3d |
Definition at line 976 of file DRW_render.h.
Referenced by basic_cache_populate(), drw_context_state_init(), DRW_draw_callbacks_post_scene(), drw_draw_show_annotation(), drw_engines_draw_text(), drw_engines_enable(), DRW_object_is_renderable(), DRW_render_object_iter(), DRW_state_draw_support(), EEVEE_cache_populate(), eevee_engine_init(), EEVEE_lightprobes_cache_init(), EEVEE_lookdev_cache_init(), EEVEE_lookdev_draw(), EEVEE_lookdev_init(), EEVEE_renderpasses_init(), EEVEE_volumes_cache_init(), external_cache_init(), external_draw_scene_do(), GPENCIL_cache_init(), GPENCIL_engine_init(), image_camera_background_texture_get(), is_cursor_visible(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_edit_curve_cache_init(), OVERLAY_edit_curves_cache_init(), OVERLAY_edit_curves_init(), OVERLAY_edit_gpencil_cache_init(), OVERLAY_edit_mesh_cache_init(), OVERLAY_edit_mesh_cache_populate(), OVERLAY_edit_mesh_init(), OVERLAY_edit_text_cache_init(), OVERLAY_engine_init(), OVERLAY_fade_cache_init(), OVERLAY_gpencil_cache_init(), OVERLAY_gpencil_cache_populate(), OVERLAY_grid_init(), OVERLAY_image_camera_cache_populate(), OVERLAY_image_empty_cache_populate(), OVERLAY_paint_cache_init(), OVERLAY_paint_init(), OVERLAY_wireframe_cache_init(), select_cache_init(), select_cache_populate(), blender::draw::color_management::viewport_color_management_set(), workbench_antialiasing_sample_count_get(), workbench_color_type_get(), workbench_dof_engine_init(), workbench_in_front_history_needed(), and workbench_private_data_init().
struct ViewLayer* DRWContextState::view_layer |
Definition at line 980 of file DRW_render.h.
Referenced by DRW_draw_cursor(), DRW_render_set_time(), DRW_view_layer_engine_data_ensure(), DRW_view_layer_engine_data_get(), EEVEE_cryptomatte_cache_populate(), eevee_cryptomatte_download_buffer(), EEVEE_cryptomatte_output_accumulate(), EEVEE_cryptomatte_output_init(), eevee_cryptomatte_postprocess_weights(), EEVEE_cryptomatte_render_result(), EEVEE_cryptomatte_renderpasses_init(), eevee_cryptomatte_shading_group_create(), EEVEE_cryptomatte_store_metadata(), EEVEE_materials_init(), eevee_render_result_aovs(), EEVEE_renderpasses_init(), GPENCIL_engine_init(), GPENCIL_render_result_z(), OVERLAY_armature_cache_populate(), OVERLAY_camera_cache_populate(), OVERLAY_edit_uv_cache_init(), OVERLAY_empty_cache_populate(), OVERLAY_extra_cache_populate(), overlay_gpencil_draw_stroke_color_name(), OVERLAY_image_empty_cache_populate(), OVERLAY_lattice_cache_populate(), OVERLAY_light_cache_populate(), OVERLAY_lightprobe_cache_populate(), OVERLAY_metaball_cache_populate(), OVERLAY_speaker_cache_populate(), OVERLAY_wireframe_cache_populate(), workbench_private_data_init(), workbench_render_result_z(), and workbench_update_material_ubos().