Files
XCSDD/docs/api/rhi/opengl/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

508 B

OpenGLCommandList::SetRenderTargets

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

设置渲染目标。

参数:

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

示例:

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

相关文档