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

Describes parameters for issuing a tile-based compute dispatch. More...

#include <CommandList.h>

Public Member Functions

XII_ALWAYS_INLINE xiiGALDispatchTileDescription ()=default
 Default-initialized tile dispatch (1x1 tile).
 
XII_ALWAYS_INLINE xiiGALDispatchTileDescription (xiiUInt32 uiThreadsPerTileX, xiiUInt32 uiThreadsPerTileY)
 Constructs a tile dispatch with specified tile dimensions and flags.
 

Public Attributes

xiiUInt32 m_uiThreadsPerTileX = 1U
 Threads per tile along X.
 
xiiUInt32 m_uiThreadsPerTileY = 1U
 Threads per tile along Y.
 

Detailed Description

Describes parameters for issuing a tile-based compute dispatch.

Used for tile shaders or compute workloads that operate on screen-space tiles.

See also
xiiGALCommandList::DispatchTile

Constructor & Destructor Documentation

◆ xiiGALDispatchTileDescription()

XII_ALWAYS_INLINE xiiGALDispatchTileDescription::xiiGALDispatchTileDescription ( xiiUInt32 uiThreadsPerTileX,
xiiUInt32 uiThreadsPerTileY )
inline

Constructs a tile dispatch with specified tile dimensions and flags.

Parameters
uiThreadsPerTileX- Threads per tile along X.
uiThreadsPerTileY- Threads per tile along Y.

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