|
Blender V5.0
|
#include <draw_command.hh>
Public Member Functions | |
Commands Serialization for debugging | |
| std::string | serialize () const |
Public Attributes | |
| DRWState | new_state |
| int | clip_plane_count |
Commands Execution | |
| void | execute (RecordingState &state) const |
| static void | set (DRWState state=DRW_STATE_DEFAULT) |
Definition at line 470 of file draw_command.hh.
| void blender::draw::command::StateSet::execute | ( | RecordingState & | state | ) | const |
Definition at line 297 of file draw_command.cc.
References blender::assign_if_different(), blender::draw::command::RecordingState::clip_plane_count, clip_plane_count, DRW_STATE_CLIP_CONTROL_UNIT_RANGE, DRW_STATE_IN_FRONT_SELECT, DRW_STATE_PROGRAM_POINT_SIZE, DRW_STATE_SHADOW_OFFSET, GPU_clip_control_unit_range(), GPU_clip_distances(), GPU_depth_range(), GPU_program_point_size(), GPU_shadow_offset(), GPU_state_set(), new_state, blender::draw::command::RecordingState::pipeline_state, blender::draw::to_blend(), blender::draw::to_depth_test(), blender::draw::to_face_cull_test(), blender::draw::to_provoking_vertex(), blender::draw::to_stencil_op(), blender::draw::to_stencil_test(), and blender::draw::to_write_mask().
Referenced by set().
| std::string blender::draw::command::StateSet::serialize | ( | ) | const |
Definition at line 699 of file draw_command.cc.
References new_state.
|
static |
Definition at line 350 of file draw_command.cc.
References execute(), GPU_line_smooth(), GPU_line_width(), GPU_point_size(), GPU_storagebuf_debug_unbind_all(), GPU_texture_image_unbind_all(), GPU_texture_unbind_all(), GPU_uniformbuf_debug_unbind_all(), and state.
Referenced by drw_callbacks_post_scene(), drw_callbacks_post_scene_2D(), drw_callbacks_pre_scene(), drw_callbacks_pre_scene_2D(), DRW_render_gpencil(), DRW_render_to_image(), DRWContext::engines_draw_scene(), and DRWContext::release_data().
| int blender::draw::command::StateSet::clip_plane_count |
Definition at line 472 of file draw_command.hh.
Referenced by execute().
| DRWState blender::draw::command::StateSet::new_state |
Definition at line 471 of file draw_command.hh.
Referenced by execute(), and serialize().