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

Detailed Description

Definition at line 618 of file draw_command.hh.

Member Function Documentation

◆ append_draw()

◆ bind()

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

Definition at line 870 of file draw_command.cc.

References DRW_RESOURCE_ID_SLOT, and GPU_storagebuf_bind().

◆ clear()

void blender::draw::command::DrawMultiBuf::clear ( )
inline

Definition at line 651 of file draw_command.hh.

◆ generate_commands()


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