Blender V5.0
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 421 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 430 of file draw_command.hh.

References false, is_reference, and size.

◆ Dispatch() [3/3]

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

Definition at line 431 of file draw_command.hh.

References is_reference, size_ref, and true.

Member Function Documentation

◆ execute()

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

Definition at line 263 of file draw_command.cc.

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

◆ serialize()

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

Definition at line 651 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 422 of file draw_command.hh.

Referenced by Dispatch(), Dispatch(), execute(), and serialize().

◆ size

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

Definition at line 424 of file draw_command.hh.

Referenced by Dispatch(), execute(), and serialize().

◆ size_ref

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

Definition at line 425 of file draw_command.hh.

Referenced by Dispatch(), execute(), and serialize().


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