> ## 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.

# RSSetShadingRateX (XBOX Series 主機)

> 可完全掌控 VRS 硬體的擴充方法。

可完全掌控 VRS 硬體的擴充方法。

## 語法

```cpp theme={null}
void RSSetShadingRateX(  
         const D3D12XBOX_SHADING_RATE_SETTINGS* shadingRateSettings  
)  
```

### 參數

*shadingRateSettings*   \_In\_opt\_\
類型：[D3D12XBOX\_SHADING\_RATE\_SETTINGS\*](/zh-TW/reference/graphics/d3d12_xs/structs/d3d12xbox_shading_rate_settings)

要設定的參數。

### 傳回值

類型：void

## 備註

請注意，此 API 的效果會在每個命令清單開始時重設。

## 需求

**標頭：** d3d12\_xs.h

**程式庫：** d3d12\_xs.lib\
**支援的平台：** XBOX Series 主機

## 另請參閱

[ID3D12GraphicsCommandList5](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList5/id3d12graphicscommandlist5)


## Related topics

- [RSSetShadingRate (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrate_public.md)
- [RSSetShadingRateImage (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrateimage_public.md)
- [D3D12_SHADING_RATE (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_shading_rate_public.md)
- [D3D12_AXIS_SHADING_RATE (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_axis_shading_rate_public.md)
- [SetPipelineState1 (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_setpipelinestate1_public.md)
