Describes dispatch command arguments. More...
#include <DeviceContext.h>
Public Member Functions | |
| constexpr | DispatchComputeAttribs (Uint32 GroupsX, Uint32 GroupsY, Uint32 GroupsZ=1) noexcept |
| Initializes the structure with user-specified values. | |
Public Attributes | |
| Uint32 | ThreadGroupCountX = 1 |
| The number of groups dispatched in X direction. | |
| Uint32 | ThreadGroupCountY = 1 |
| The number of groups dispatched in Y direction. | |
| Uint32 | ThreadGroupCountZ = 1 |
| The number of groups dispatched in Z direction. | |
| 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::DispatchCompute().
| Uint32 Diligent::DispatchComputeAttribs::MtlThreadGroupSizeX = 0 |
Compute group X size.
| Uint32 Diligent::DispatchComputeAttribs::MtlThreadGroupSizeY = 0 |
Compute group Y size.
| Uint32 Diligent::DispatchComputeAttribs::MtlThreadGroupSizeZ = 0 |
Compute group Z size.