Blender V4.3
blender::draw::command::Dispatch Struct Reference

#include <draw_command.hh>

Public Member Functions

 Dispatch ()=default
 
 Dispatch (int3 group_len)
 
 Dispatch (int3 *group_len)
 
Commands Execution
void execute (RecordingState &state) const
 
Commands Serialization for debugging
std::string serialize () const
 

Public Attributes

bool is_reference
 
union { 
 
   int3   size 
 
   int3 *   size_ref 
 
};  
 

Detailed Description

Definition at line 419 of file draw_command.hh.

Constructor & Destructor Documentation

◆ Dispatch() [1/3]

blender::draw::command::Dispatch::Dispatch ( )
default

◆ Dispatch() [2/3]

blender::draw::command::Dispatch::Dispatch ( int3 group_len)
inline

Definition at line 428 of file draw_command.hh.

◆ Dispatch() [3/3]

blender::draw::command::Dispatch::Dispatch ( int3 * group_len)
inline

Definition at line 429 of file draw_command.hh.

Member Function Documentation

◆ execute()

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

Definition at line 250 of file draw_command.cc.

References GPU_compute_dispatch(), is_reference, size_ref, and state.

◆ serialize()

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

Definition at line 621 of file draw_command.cc.

References is_reference, size, and size_ref.

Member Data Documentation

◆ [union]

◆ is_reference

bool blender::draw::command::Dispatch::is_reference

Definition at line 420 of file draw_command.hh.

Referenced by execute(), and serialize().

◆ size

int3 blender::draw::command::Dispatch::size

Definition at line 422 of file draw_command.hh.

Referenced by serialize().

◆ size_ref

int3* blender::draw::command::Dispatch::size_ref

Definition at line 423 of file draw_command.hh.

Referenced by execute(), and serialize().


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