Blender V4.3
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 410 of file draw_command.hh.

Member Function Documentation

◆ execute()

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

Definition at line 243 of file draw_command.cc.

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

◆ serialize()

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

Definition at line 616 of file draw_command.cc.

Member Data Documentation

◆ batch

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

Definition at line 411 of file draw_command.hh.

Referenced by execute().

◆ handle

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

Definition at line 413 of file draw_command.hh.

◆ indirect_buf

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

Definition at line 412 of file draw_command.hh.

Referenced by execute().


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