Docs: Add D3D12 API documentation
This commit is contained in:
16
docs/api/d3d12/d3d12-command-list-clear-depth-stencil.md
Normal file
16
docs/api/d3d12/d3d12-command-list-clear-depth-stencil.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# D3D12CommandList::ClearDepthStencil
|
||||
|
||||
清除深度模板缓冲区。
|
||||
|
||||
```cpp
|
||||
void ClearDepthStencil(void* depthStencil, float depth, uint8_t stencil) override;
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `depthStencil` - 深度模板目标指针
|
||||
- `depth` - 深度值
|
||||
- `stencil` - 模板值
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12CommandList 总览](d3d12-command-list.md)
|
||||
Reference in New Issue
Block a user