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

> 指定圖形裝置上的轉譯階段支援層級。

指定圖形裝置上的轉譯階段支援層級。

## 語法

```cpp theme={null}
typedef enum D3D12_RENDER_PASS_TIER
{
    D3D12_RENDER_PASS_TIER_0 = 0,
    D3D12_RENDER_PASS_TIER_1 = 1,
    D3D12_RENDER_PASS_TIER_2 = 2
} D3D12_RENDER_PASS_TIER
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12\_RENDER\_PASS\_TIER\_0 | 使用者模式顯示驅動程式尚未實作轉譯階段，因此只能透過軟體模擬提供此功能。在此支援層級下，轉譯階段可能無法提供效能優勢。 |
| D3D12\_RENDER\_PASS\_TIER\_1 | 轉譯階段功能由使用者模式顯示驅動程式實作，且轉譯目標/深度緩衝區寫入可能會加速。轉譯階段內無法有效支援無序存取檢視 (UAV) 寫入。 |
| D3D12\_RENDER\_PASS\_TIER\_2 | 轉譯階段功能由使用者模式顯示驅動程式實作，轉譯目標/深度緩衝區寫入可能會加速，而無序存取檢視 (UAV) 寫入 (前提是轉譯階段中的寫入直到後續轉譯階段才會被讀取) 可能會比不使用轉譯階段發出相同工作更有效率。 |

## 備註

若要判斷圖形裝置的轉譯階段支援層級，請傳遞 [D3D12\_FEATURE\_DATA\_D3D12\_OPTIONS5](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options5_public) 結構。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[轉譯](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/rendering)


## Related topics

- [D3D12_FEATURE_DATA_D3D12_OPTIONS5](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options5_public.md)
- [D3D12_RENDER_PASS_RENDER_TARGET_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_render_target_desc_public.md)
- [D3D12_RENDER_PASS_BEGINNING_ACCESS](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public.md)
- [D3D12_RENDER_PASS_DEPTH_STENCIL_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_depth_stencil_desc_public.md)
