Files
XCSDD/docs/api/rhi/command-list/set-render-targets.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- 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
2026-03-19 12:44:08 +08:00

529 B

RHICommandList::SetRenderTargets

virtual void SetRenderTargets(uint32_t count, void** renderTargets, void* depthStencil = nullptr) = 0;

设置渲染目标和深度模板缓冲区。

参数:

  • count - 渲染目标数量
  • renderTargets - 渲染目标数组
  • depthStencil - 深度模板缓冲区(可选)

示例:

void* targets[1] = {renderTarget};
cmdList->SetRenderTargets(1, targets, depthStencil);

相关文档