Docs: Add D3D12 API documentation
This commit is contained in:
16
docs/api/d3d12/d3d12-command-list-set-render-targets.md
Normal file
16
docs/api/d3d12/d3d12-command-list-set-render-targets.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# D3D12CommandList::SetRenderTargets
|
||||
|
||||
设置渲染目标。
|
||||
|
||||
```cpp
|
||||
void SetRenderTargets(uint32_t count, void** renderTargets, void* depthStencil = nullptr) override;
|
||||
```
|
||||
|
||||
**参数:**
|
||||
- `count` - 渲染目标数量
|
||||
- `renderTargets` - 渲染目标指针数组
|
||||
- `depthStencil` - 可选的深度模板目标
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12CommandList 总览](d3d12-command-list.md)
|
||||
Reference in New Issue
Block a user