17 lines
309 B
Markdown
17 lines
309 B
Markdown
|
|
# D3D12CommandList::SetDepthStencilState
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void SetDepthStencilState(const DepthStencilState& state) override;
|
||
|
|
```
|
||
|
|
|
||
|
|
设置深度模板状态。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `state` - 深度模板状态结构体
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|