|
Blender V5.3
|
#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 482 of file draw_command.hh.
| void blender::draw::command::StateSet::execute | ( | RecordingState & | state | ) | const |
Definition at line 300 of file draw_command.cc.
References blender::assign_if_different(), blender::draw::command::RecordingState::clip_plane_count, clip_plane_count, blender::DRW_STATE_CLIP_CONTROL_UNIT_RANGE, blender::DRW_STATE_PROGRAM_POINT_SIZE, blender::GPU_clip_control_unit_range(), blender::GPU_clip_distances(), blender::GPU_program_point_size(), blender::GPU_state_set(), new_state, and blender::draw::command::RecordingState::pipeline_state.
Referenced by set().
| std::string blender::draw::command::StateSet::serialize | ( | ) | const |
Definition at line 704 of file draw_command.cc.
References new_state.
|
static |
Definition at line 335 of file draw_command.cc.
References execute(), blender::GPU_line_smooth(), blender::GPU_line_width(), blender::GPU_point_size(), blender::GPU_storagebuf_debug_unbind_all(), blender::GPU_texture_image_unbind_all(), blender::GPU_texture_unbind_all(), blender::GPU_uniformbuf_debug_unbind_all(), and state.
Referenced by blender::drw_callbacks_post_scene(), blender::drw_callbacks_post_scene_2D(), blender::drw_callbacks_post_scene_view3d(), blender::drw_callbacks_pre_scene(), blender::drw_callbacks_pre_scene_2D(), blender::drw_render_border_mask(), blender::DRW_render_gpencil(), blender::DRW_render_to_image(), blender::DRWContext::engines_draw_scene(), and blender::DRWContext::release_data().
| int blender::draw::command::StateSet::clip_plane_count |
Definition at line 484 of file draw_command.hh.
Referenced by execute().
| DRWState blender::draw::command::StateSet::new_state |
Definition at line 483 of file draw_command.hh.
Referenced by execute(), and serialize().