指定深度和模具值。
语法
typedef struct D3D12_DEPTH_STENCIL_VALUE {
FLOAT Depth;
UINT8 Stencil;
} D3D12_DEPTH_STENCIL_VALUE;
成员
Depth
指定深度值。
Stencil
指定模具值。
注解
此结构在 D3D12_CLEAR_VALUE 结构中使用。
要求
| 要求 | 值 |
|---|---|
| Header | d3d12.h |
指定深度和模具值。
typedef struct D3D12_DEPTH_STENCIL_VALUE {
FLOAT Depth;
UINT8 Stencil;
} D3D12_DEPTH_STENCIL_VALUE;
Depth
指定深度值。
Stencil
指定模具值。
此结构在 D3D12_CLEAR_VALUE 结构中使用。
| 要求 | 值 |
|---|---|
| Header | d3d12.h |