Describes dispatch command arguments.
More...
Describes dispatch command arguments.
This structure is used by IDeviceContext::DispatchCompute(). See ID3D11DeviceContext::Dispatch on MSDN for details.
Diligent::DispatchComputeAttribs::DispatchComputeAttribs |
( |
Uint32 |
GroupsX = 1 , |
|
|
Uint32 |
GroupsY = 1 , |
|
|
Uint32 |
GroupsZ = 1 |
|
) |
| |
|
inline |
Initializes the structure to perform non-indirect dispatch command.
- Parameters
-
[in] | GroupsX | - Number of groups dispatched in X direction. Default value is 1. |
[in] | GroupsY | - Number of groups dispatched in Y direction. Default value is 1. |
[in] | GroupsZ | - Number of groups dispatched in Z direction. Default value is 1. |
Diligent::DispatchComputeAttribs::DispatchComputeAttribs |
( |
IBuffer * |
pDispatchAttribs, |
|
|
Uint32 |
Offset = 0 |
|
) |
| |
|
inline |
Initializes the structure to perform indirect dispatch command.
- Parameters
-
[in] | pDispatchAttribs | - Pointer to the buffer containing dispatch arguments. |
[in] | Offset | - Offset from the beginning of the buffer to the dispatch command arguments. Default value is 0. |