Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::DispatchTileAttribs Struct Reference

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.
 

Detailed Description

Describes tile dispatch command arguments.

This structure is used by IDeviceContext::DispatchTile().

Member Data Documentation

◆ ThreadsPerTileX

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().

◆ ThreadsPerTileY

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().