D3D12_AXIS_SHADING_RATE enumeration (d3d12.h)

Defines constants that specify the shading rate (for variable-rate shading, or VRS) along a horizontal or vertical axis. For more info, see Variable-rate shading (VRS).

Syntax

typedef enum D3D12_AXIS_SHADING_RATE {
  D3D12_AXIS_SHADING_RATE_1X = 0,
  D3D12_AXIS_SHADING_RATE_2X = 0x1,
  D3D12_AXIS_SHADING_RATE_4X = 0x2
} ;

Constants

 
D3D12_AXIS_SHADING_RATE_1X
Value: 0
Specifies a 1x shading rate for the axis.
D3D12_AXIS_SHADING_RATE_2X
Value: 0x1
Specifies a 2x shading rate for the axis.
D3D12_AXIS_SHADING_RATE_4X
Value: 0x2
Specifies a 4x shading rate for the axis.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h

See also

Variable-rate shading (VRS)