|
Blender V5.0
|
#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, ResourceIndexRange index_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 525 of file draw_command.hh.
|
inline |
Definition at line 543 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::ResourceIndexRange::index_range(), and UNUSED_VARS_NDEBUG.
| void blender::draw::command::DrawCommandBuf::bind | ( | RecordingState & | state | ) |
Definition at line 784 of file draw_command.cc.
References DRW_RESOURCE_ID_SLOT, and GPU_storagebuf_bind().
|
inline |
Definition at line 538 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 772 of file draw_command.cc.