|
Blender V4.5
|
#include <draw_command.hh>
Public Member Functions | |
| void | clear () |
| void | append_draw (Vector< Header, 0 > &headers, Vector< Undetermined, 0 > &commands, gpu::Batch *batch, uint instance_len, uint vertex_len, uint vertex_first, ResourceHandleRange handle_range, uint custom_id, GPUPrimType expanded_prim_type, uint16_t expanded_prim_len) |
Commands buffers binding / command / resource ID generation | |
| void | generate_commands (Vector< Header, 0 > &headers, Vector< Undetermined, 0 > &commands, SubPassVector &sub_passes) |
| void | bind (RecordingState &state) |
Definition at line 526 of file draw_command.hh.
|
inline |
Definition at line 544 of file draw_command.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index(), batch, BLI_assert, BLI_assert_msg, blender::draw::command::Draw, blender::draw::ResourceHandleRange::index_range(), and UNUSED_VARS_NDEBUG.
| void blender::draw::command::DrawCommandBuf::bind | ( | RecordingState & | state | ) |
Definition at line 792 of file draw_command.cc.
References DRW_RESOURCE_ID_SLOT, GPU_shader_draw_parameters_support(), GPU_storagebuf_bind(), and state.
|
inline |
Definition at line 539 of file draw_command.hh.
| void blender::draw::command::DrawCommandBuf::generate_commands | ( | Vector< Header, 0 > & | headers, |
| Vector< Undetermined, 0 > & | commands, | ||
| SubPassVector & | sub_passes ) |
Definition at line 780 of file draw_command.cc.