|
Blender V4.3
|
#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, ResourceHandle handle, uint custom_id, GPUPrimType expanded_prim_type, uint16_t expanded_prim_len) |
Commands buffers binding / command / resource ID generation | |
| void | bind (RecordingState &state, Vector< Header, 0 > &headers, Vector< Undetermined, 0 > &commands, SubPassVector &sub_passes) |
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_msg, blender::draw::command::Draw, and UNUSED_VARS_NDEBUG.
| void blender::draw::command::DrawCommandBuf::bind | ( | RecordingState & | state, |
| Vector< Header, 0 > & | headers, | ||
| Vector< Undetermined, 0 > & | commands, | ||
| SubPassVector & | sub_passes ) |
Definition at line 747 of file draw_command.cc.
References DRW_RESOURCE_ID_SLOT, GPU_shader_draw_parameters_support(), GPU_storagebuf_bind(), blender::draw::detail::StorageCommon< T, len, device_only >::push_update(), and state.
|
inline |
Definition at line 538 of file draw_command.hh.
References blender::draw::StorageArrayBuffer< T, len, device_only >::trim_to_next_power_of_2().