This describes the shading rate texture format supported by the device.
More...
#include <GraphicsTypes.h>
This describes the shading rate texture format supported by the device.
◆ Enum
Enumerator |
---|
Unknown | Variable shading rate is not supported.
|
Palette | Single channel 8-bit surface that contains shading rate values. Only 2D and 2D array textures with R8UNormalized format are allowed.
|
RG8UNormalized | RG8UNormalized texture that defines the shading rate (0.5, 0.25 etc.). The R channel is used for X axis, G channel is used for Y axis.
|
ColumnRowFloat32 | This format is only used in Metal when shading rate is defined by column/row rates instead of a texture. The values are 32-bit floating point values in 0 to 1 range (0.5, 0.25 etc.).
|
The documentation for this struct was generated from the following file:
- /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Declarations/GraphicsTypes.h