Describes tile dispatch command arguments. More...
#include <DeviceContext.h>
Public Member Functions | |
| constexpr | DispatchTileAttribs (Uint32 _ThreadsX, Uint32 _ThreadsY, DRAW_FLAGS _Flags=DRAW_FLAG_NONE) noexcept |
| Initializes the structure with user-specified values. | |
Public Attributes | |
| Uint32 | ThreadsPerTileX = 1 |
| The number of threads in one tile dispatched in X direction. | |
| Uint32 | ThreadsPerTileY = 1 |
| The number of threads in one tile dispatched in Y direction. | |
| DRAW_FLAGS | Flags = DRAW_FLAG_NONE |
| Additional flags, see Diligent::DRAW_FLAGS. | |
Describes tile dispatch command arguments.
This structure is used by IDeviceContext::DispatchTile().
| Uint32 Diligent::DispatchTileAttribs::ThreadsPerTileX = 1 |
The number of threads in one tile dispatched in X direction.
Must not be greater than TileSizeX returned by IDeviceContext::GetTileSize().
| Uint32 Diligent::DispatchTileAttribs::ThreadsPerTileY = 1 |
The number of threads in one tile dispatched in Y direction.
Must not be greater than TileSizeY returned by IDeviceContext::GetTileSize().