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

Describes parameters for issuing mesh shader draw calls. More...

#include <CommandList.h>

Public Member Functions

XII_ALWAYS_INLINE xiiGALDrawMeshDescription ()=default
 Default-initialized mesh draw description (1 group on X axis).
 
XII_ALWAYS_INLINE xiiGALDrawMeshDescription (xiiUInt32 uiThreadGroupCountX)
 Constructs a draw mesh description with specified thread group dimensions.
 
XII_ALWAYS_INLINE xiiGALDrawMeshDescription (xiiUInt32 uiThreadGroupCountX, xiiUInt32 uiThreadGroupCountY)
 Constructs a draw mesh description with X/Y group counts.
 
XII_ALWAYS_INLINE xiiGALDrawMeshDescription (xiiUInt32 uiThreadGroupCountX, xiiUInt32 uiThreadGroupCountY, xiiUInt32 uiThreadGroupCountZ)
 Constructs a draw mesh description with full 3D group dimensions.
 

Public Attributes

xiiUInt32 m_uiThreadGroupCountX = 1U
 Mesh thread groups along X.
 
xiiUInt32 m_uiThreadGroupCountY = 1U
 Mesh thread groups along Y.
 
xiiUInt32 m_uiThreadGroupCountZ = 1U
 Mesh thread groups along Z.
 

Detailed Description

Describes parameters for issuing mesh shader draw calls.

Specifies the number of workgroups to dispatch for a meshlet-driven pipeline. Used for explicit, non-indirect mesh shader draws.

See also
xiiGALCommandList::DrawMesh

Constructor & Destructor Documentation

◆ xiiGALDrawMeshDescription()

XII_ALWAYS_INLINE xiiGALDrawMeshDescription::xiiGALDrawMeshDescription ( xiiUInt32 uiThreadGroupCountX)
inlineexplicit

Constructs a draw mesh description with specified thread group dimensions.

Parameters
uiThreadGroupCountX- Number of thread groups along X.

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