19 lines
411 B
Markdown
19 lines
411 B
Markdown
|
|
# D3D12CommandList::SetRenderTargets
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void SetRenderTargets(uint32_t count, void** renderTargets, void* depthStencil = nullptr) override;
|
||
|
|
```
|
||
|
|
|
||
|
|
设置渲染目标。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `count` - 渲染目标数量
|
||
|
|
- `renderTargets` - 渲染目标指针数组
|
||
|
|
- `depthStencil` - 深度模板目标指针
|
||
|
|
|
||
|
|
**复杂度:** O(n)
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|