> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_AXIS_SHADING_RATE (XBOX Series consoles)

> Defines constants that specify the shading rate (for variable-rate shading, or VRS) along a horizontal or vertical axis.

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)](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/vrs).

## Syntax

```cpp theme={null}
typedef enum D3D12_AXIS_SHADING_RATE
{
    D3D12_AXIS_SHADING_RATE_1X = 0,
    D3D12_AXIS_SHADING_RATE_2X = 1,
    D3D12_AXIS_SHADING_RATE_4X = 2
} D3D12_AXIS_SHADING_RATE
```

## Constants

| Constant                       | Description                               |
| ------------------------------ | ----------------------------------------- |
| D3D12\_AXIS\_SHADING\_RATE\_1X | Specifies a 1x shading rate for the axis. |
| D3D12\_AXIS\_SHADING\_RATE\_2X | Specifies a 2x shading rate for the axis. |
| D3D12\_AXIS\_SHADING\_RATE\_4X | Specifies a 4x shading rate for the axis. |

## Remarks

## Requirements

**Header:** d3d12\_xs.h\
**Library:** d3d12\_xs.lib\
**Supported Platforms**: XBOX Series consoles

## See Also

[Variable-rate shading (VRS)](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/vrs)


## Related topics

- [D3D12_SHADING_RATE (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_shading_rate_public.md)
- [RSSetShadingRate (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrate_public.md)
- [RSSetShadingRateImage (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrateimage_public.md)
- [D3D12_SHADING_RATE_COMBINER](/reference/graphics/d3d12/enums/d3d12_shading_rate_combiner_public.md)
- [D3D12_VARIABLE_SHADING_RATE_TIER](/reference/graphics/d3d12/enums/d3d12_variable_shading_rate_tier_public.md)
