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

> 定义用于指定三态的常量

定义用于指定三态的常量

## 语法

```cpp theme={null}
typedef enum D3D12_TRI_STATE
{
    D3D12_TRI_STATE_UNKNOWN = 0,
    D3D12_TRI_STATE_FALSE = 0,
    D3D12_TRI_STATE_TRUE = 0
} D3D12_TRI_STATE
```

## 常量

| 常量                         | 描述           |
| -------------------------- | ------------ |
| D3D12\_TRI\_STATE\_UNKNOWN | 指定未定义状态。     |
| D3D12\_TRI\_STATE\_FALSE   | 指定 false 状态。 |
| D3D12\_TRI\_STATE\_TRUE    | 指定 true 状态。  |

## 备注

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅


## Related topics

- [D3D12_FEATURE_DATA_D3D12_OPTIONS12](/zh-CN/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options12_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
- [D3D12_GRAPHICS_STATES](/zh-CN/reference/graphics/d3d12/enums/d3d12_graphics_states_public.md)
- [D3D12_STATE_SUBOBJECT](/zh-CN/reference/graphics/d3d12/structs/d3d12_state_subobject_public.md)
- [D3D12_STATE_SUBOBJECT_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_state_subobject_type_public.md)
