![]() |
XII Release 0.1.0
|
Describes parameters for issuing indirect mesh shader draw calls. More...
#include <CommandList.h>
Public Member Functions | |
| XII_ALWAYS_INLINE | xiiGALDrawMeshIndirectDescription ()=default |
| Default-initialized indirect mesh draw description. | |
| XII_ALWAYS_INLINE | xiiGALDrawMeshIndirectDescription (xiiSharedPtr< xiiGALBuffer > pBuffer, xiiUInt32 uiCommandCount, xiiUInt64 uiDrawArgumentOffset=0U, xiiEnum< xiiGALStateTransitionMode > bufferStateTransition=xiiGALStateTransitionMode::None, xiiSharedPtr< xiiGALBuffer > pCounterBuffer=nullptr, xiiUInt64 uiCounterOffset=0U, xiiEnum< xiiGALStateTransitionMode > counterBufferStateTransition=xiiGALStateTransitionMode::None) |
| Constructs an indirect mesh draw description with specified parameters. | |
Public Attributes | |
| xiiSharedPtr< xiiGALBuffer > | m_pBuffer = nullptr |
| Buffer containing mesh dispatch arguments. | |
| xiiUInt64 | m_uiDrawArgumentOffset = 0U |
| Byte offset to the first mesh dispatch argument. | |
| xiiUInt32 | m_uiCommandCount = 1U |
| Number of draws to execute. | |
| xiiEnum< xiiGALStateTransitionMode > | m_BufferStateTransition = xiiGALStateTransitionMode::None |
| State transition mode. | |
| xiiSharedPtr< xiiGALBuffer > | m_pCounterBuffer = nullptr |
| Optional buffer containing draw count. | |
| xiiUInt64 | m_uiCounterOffset = 0U |
| Byte offset to the draw count value. | |
| xiiEnum< xiiGALStateTransitionMode > | m_CounterBufferStateTransition = xiiGALStateTransitionMode::None |
| State transition mode. | |
Describes parameters for issuing indirect mesh shader draw calls.
Pulls mesh dispatch arguments from a GPU buffer, with optional draw count via counter buffer.
|
inline |
Constructs an indirect mesh draw description with specified parameters.
| pBuffer | - Buffer containing mesh dispatch arguments. |
| uiCommandCount | - Number of draws to execute. |
| uiDrawArgumentOffset | - Byte offset to the first mesh dispatch argument. |
| bufferStateTransition | - Resource state transition mode for the draw buffer. |
| pCounterBuffer | - Optional buffer containing draw count. |
| uiCounterOffset | - Byte offset to the draw count value. |
| counterBufferStateTransition | - Resource state transition mode for the counter buffer. |