Shading rate attachment description. More...
#include <RenderPass.h>
Public Attributes | |
| AttachmentReference | Attachment = {} |
| Shading rate attachment reference, see Diligent::AttachmentReference. | |
| Uint32 | TileSize [2] = {} |
| The size of the shading rate tile in pixels. | |
Shading rate attachment description.
| Uint32 Diligent::ShadingRateAttachment::TileSize[2] = {} |
The size of the shading rate tile in pixels.
Each texel in the attachment contains shading rate for the whole tile. The size must be a power-of-two value between ShadingRateProperties::MinTileSize and ShadingRateProperties::MaxTileSize. Keep zero to use the default tile size.