|
Blender V4.3
|
#include <draw_command.hh>
Public Member Functions | |
| void | front_facing_set (bool facing) |
| void | cleanup () |
Public Attributes | |
| GPUShader * | shader = nullptr |
| bool | front_facing = true |
| bool | inverted_view = false |
| DRWState | pipeline_state = DRW_STATE_NO_DRAW |
| int | clip_plane_count = 0 |
| GPUStorageBuf * | resource_id_buf = nullptr |
Command recording state. Keep track of several states and avoid redundant state changes.
Definition at line 44 of file draw_command.hh.
|
inline |
Definition at line 63 of file draw_command.hh.
References front_facing, G, G_DEBUG_GPU, GPU_front_facing(), GPU_storagebuf_debug_unbind_all(), GPU_texture_image_unbind_all(), GPU_texture_unbind_all(), and GPU_uniformbuf_debug_unbind_all().
|
inline |
Definition at line 53 of file draw_command.hh.
References blender::assign_if_different(), facing(), and GPU_front_facing().
| int blender::draw::command::RecordingState::clip_plane_count = 0 |
Definition at line 49 of file draw_command.hh.
Referenced by blender::draw::command::StateSet::execute().
| bool blender::draw::command::RecordingState::front_facing = true |
Definition at line 46 of file draw_command.hh.
Referenced by cleanup().
| bool blender::draw::command::RecordingState::inverted_view = false |
Definition at line 47 of file draw_command.hh.
Referenced by blender::draw::Manager::submit(), and blender::draw::Manager::submit().
| DRWState blender::draw::command::RecordingState::pipeline_state = DRW_STATE_NO_DRAW |
Definition at line 48 of file draw_command.hh.
Referenced by blender::draw::command::StateSet::execute().
| GPUStorageBuf* blender::draw::command::RecordingState::resource_id_buf = nullptr |
Used for gl_BaseInstance workaround.
Definition at line 51 of file draw_command.hh.
| GPUShader* blender::draw::command::RecordingState::shader = nullptr |
Definition at line 45 of file draw_command.hh.