Blender V5.0
blender::draw::command::DrawIndirect Struct Reference

#include <draw_command.hh>

Public Member Functions

Commands Execution
void execute (RecordingState &state) const
Commands Serialization for debugging
std::string serialize () const

Public Attributes

gpu::Batch * batch
gpu::StorageBuf ** indirect_buf
ResourceIndex res_index

Detailed Description

Definition at line 412 of file draw_command.hh.

Member Function Documentation

◆ execute()

void blender::draw::command::DrawIndirect::execute ( RecordingState & state) const

Definition at line 256 of file draw_command.cc.

References batch, GPU_batch_draw_indirect(), indirect_buf, res_index, and state.

◆ serialize()

std::string blender::draw::command::DrawIndirect::serialize ( ) const

Definition at line 646 of file draw_command.cc.

Member Data Documentation

◆ batch

gpu::Batch* blender::draw::command::DrawIndirect::batch

Definition at line 413 of file draw_command.hh.

Referenced by execute().

◆ indirect_buf

gpu::StorageBuf** blender::draw::command::DrawIndirect::indirect_buf

Definition at line 414 of file draw_command.hh.

Referenced by execute().

◆ res_index

ResourceIndex blender::draw::command::DrawIndirect::res_index

Definition at line 415 of file draw_command.hh.

Referenced by execute().


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