Describes dispatch command arguments. More...
#include <DeviceContext.h>
Public Member Functions | |
constexpr | DispatchComputeIndirectAttribs (IBuffer *_pAttribsBuffer, RESOURCE_STATE_TRANSITION_MODE _StateTransitionMode, Uint64 _Offset=0) |
Initializes the structure with user-specified values. | |
Public Attributes | |
IBuffer * | pAttribsBuffer = nullptr |
A pointer to the buffer containing indirect dispatch attributes. | |
RESOURCE_STATE_TRANSITION_MODE | AttribsBufferStateTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE |
State transition mode for indirect dispatch attributes buffer. | |
Uint64 | DispatchArgsByteOffset = 0 |
The offset from the beginning of the buffer to the dispatch command arguments. | |
Uint32 | MtlThreadGroupSizeX = 0 |
Compute group X size. | |
Uint32 | MtlThreadGroupSizeY = 0 |
Compute group Y size. | |
Uint32 | MtlThreadGroupSizeZ = 0 |
Compute group Z size. | |
Describes dispatch command arguments.
This structure is used by IDeviceContext::DispatchComputeIndirect().
Uint32 Diligent::DispatchComputeIndirectAttribs::MtlThreadGroupSizeX = 0 |
Compute group X size.
Uint32 Diligent::DispatchComputeIndirectAttribs::MtlThreadGroupSizeY = 0 |
Compute group Y size.
Uint32 Diligent::DispatchComputeIndirectAttribs::MtlThreadGroupSizeZ = 0 |
Compute group Z size.
IBuffer* Diligent::DispatchComputeIndirectAttribs::pAttribsBuffer = nullptr |
A pointer to the buffer containing indirect dispatch attributes.
The buffer must contain the following arguments at the specified offset:
Uint32 ThreadGroupCountX; Uint32 ThreadGroupCountY; Uint32 ThreadGroupCountZ;