Blender V4.5
blender::draw::command::DrawMultiBuf Class Reference

#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, VisibilityBuf &visibility_buf, int visibility_word_per_draw, int view_len, bool use_custom_ids)
 
void bind (RecordingState &state)
 

Detailed Description

Definition at line 619 of file draw_command.hh.

Member Function Documentation

◆ append_draw()

void blender::draw::command::DrawMultiBuf::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 )
inline

Definition at line 665 of file draw_command.hh.

References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index(), blender::draw::command::DrawGroup::back_facing_counter, batch, BLI_assert, BLI_assert_msg, blender::draw::command::DrawPrototype::custom_id, blender::draw::command::DrawGroup::desc, blender::draw::command::DrawMulti, blender::draw::command::DrawGroup::expand_prim_len, blender::draw::command::DrawGroup::expand_prim_type, blender::draw::command::DrawGroup::front_facing_counter, blender::draw::command::DrawGroup::front_facing_len, blender::draw::StorageArrayBuffer< T, len, device_only >::get_or_resize(), blender::draw::command::DrawGroup::gpu_batch, blender::draw::command::DrawMulti::group_first, blender::draw::command::DrawPrototype::group_id, blender::draw::ResourceHandleRange::handle_first, blender::draw::ResourceHandle::has_inverted_handedness(), blender::draw::ResourceHandleRange::index_range(), blender::draw::command::DrawPrototype::instance_len, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::draw::command::DrawGroup::len, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), blender::draw::command::DrawGroup::next, blender::draw::command::DrawPrototype::res_handle, blender::draw::command::DrawMulti::uuid, blender::draw::command::DrawGroup::vertex_first, and blender::draw::command::DrawGroup::vertex_len.

◆ bind()

void blender::draw::command::DrawMultiBuf::bind ( RecordingState & state)

◆ clear()

◆ generate_commands()


The documentation for this class was generated from the following files: