- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
24 lines
529 B
Markdown
24 lines
529 B
Markdown
# RHICommandList::SetRenderTargets
|
|
|
|
```cpp
|
|
virtual void SetRenderTargets(uint32_t count, void** renderTargets, void* depthStencil = nullptr) = 0;
|
|
```
|
|
|
|
设置渲染目标和深度模板缓冲区。
|
|
|
|
**参数:**
|
|
- `count` - 渲染目标数量
|
|
- `renderTargets` - 渲染目标数组
|
|
- `depthStencil` - 深度模板缓冲区(可选)
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
void* targets[1] = {renderTarget};
|
|
cmdList->SetRenderTargets(1, targets, depthStencil);
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [RHICommandList 总览](command-list.md) - 返回类总览
|