Blender V5.0
blender::draw::command::DrawCommandBuf 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, SubPassVector &sub_passes)
void bind (RecordingState &state)

Detailed Description

Definition at line 525 of file draw_command.hh.

Member Function Documentation

◆ append_draw()

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

◆ bind()

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().

◆ clear()

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

Definition at line 538 of file draw_command.hh.

◆ generate_commands()

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.


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