XII Release 0.1.0
Loading...
Searching...
No Matches
xiiMeshDrawCommand Struct Reference

DrawMeshIndirect-compatible command payload. More...

#include <MeshBufferResource.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()
xiiResult Serialize (xiiStreamWriter &inout_stream) const
xiiResult Deserialize (xiiStreamReader &inout_stream)

Public Attributes

xiiUInt32 m_uiThreadGroupCountX = 0U
 The number of thread groups to dispatch in the X dimension for this draw command, used to identify how many thread groups should be dispatched for this draw call when using mesh shaders or compute shader-based rendering techniques.
xiiUInt32 m_uiThreadGroupCountY = 1U
 The number of thread groups to dispatch in the Y dimension for this draw command, used to identify how many thread groups should be dispatched for this draw call when using mesh shaders or compute shader-based rendering techniques. This is typically set to 1 for non-instanced draws, but can be greater than 1 for instanced draws where each thread group processes multiple instances.
xiiUInt32 m_uiThreadGroupCountZ = 1U
 The number of thread groups to dispatch in the Z dimension for this draw command, used to identify how many thread groups should be dispatched for this draw call when using mesh shaders or compute shader-based rendering techniques. This is typically set to 1, but can be greater than 1 for certain advanced rendering techniques that utilize 3D thread group dispatch.

Detailed Description

DrawMeshIndirect-compatible command payload.


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Meshes/MeshBufferResource.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Meshes/Implementation/MeshBufferResource.cpp