Blender V4.5
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
GPUStorageBuf ** indirect_buf
ResourceHandle handle

Detailed Description

Definition at line 413 of file draw_command.hh.

Member Function Documentation

◆ execute()

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

Definition at line 264 of file draw_command.cc.

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

◆ serialize()

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

Definition at line 654 of file draw_command.cc.

Member Data Documentation

◆ batch

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

Definition at line 414 of file draw_command.hh.

Referenced by execute().

◆ handle

ResourceHandle blender::draw::command::DrawIndirect::handle

Definition at line 416 of file draw_command.hh.

Referenced by execute().

◆ indirect_buf

GPUStorageBuf** blender::draw::command::DrawIndirect::indirect_buf

Definition at line 415 of file draw_command.hh.

Referenced by execute().


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