|
Blender V4.3
|
#include <draw_command.hh>
Public Member Functions | |
Commands Execution | |
| void | execute (RecordingState &state) const |
Commands Serialization for debugging | |
| std::string | serialize () const |
Public Attributes | |
| DRWState | new_state |
| int | clip_plane_count |
Definition at line 468 of file draw_command.hh.
| void blender::draw::command::StateSet::execute | ( | RecordingState & | state | ) | const |
Does not support locked state for the moment and never should. Better implement a less hacky selection!
Definition at line 282 of file draw_command.cc.
References blender::assign_if_different(), BLI_assert, blender::draw::command::RecordingState::clip_plane_count, clip_plane_count, DRW_STATE_IN_FRONT_SELECT, DRW_STATE_PROGRAM_POINT_SIZE, DRW_STATE_SHADOW_OFFSET, DST, GPU_clip_distances(), GPU_depth_range(), GPU_program_point_size(), GPU_shadow_offset(), GPU_state_set(), new_state, blender::draw::command::RecordingState::pipeline_state, DRWManager::state, DRWManager::state_lock, 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().
| std::string blender::draw::command::StateSet::serialize | ( | ) | const |
Definition at line 669 of file draw_command.cc.
References new_state.
| int blender::draw::command::StateSet::clip_plane_count |
Definition at line 470 of file draw_command.hh.
Referenced by execute().
| DRWState blender::draw::command::StateSet::new_state |
Definition at line 469 of file draw_command.hh.
Referenced by execute(), and serialize().