Files
XCSDD/docs/api/rhi/opengl/command-list/clear-depth-stencil.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

415 B

OpenGLCommandList::ClearDepthStencil

void ClearDepthStencil(void* depthStencil, float depth, uint8_t stencil)

清除深度模板目标。

参数:

  • depthStencil - 深度模板目标指针
  • depth - 深度值
  • stencil - 模板值

示例:

commandList->ClearDepthStencil(depthStencil, 1.0f, 0);

相关文档