> ## 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](/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-CN/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options5_public.md)
- [D3D12_RENDER_PASS_RENDER_TARGET_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_render_target_desc_public.md)
- [D3D12_RENDER_PASS_BEGINNING_ACCESS](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public.md)
- [D3D12_RENDER_PASS_DEPTH_STENCIL_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_depth_stencil_desc_public.md)
