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

21 lines
315 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OpenGLDepthStencilView::ClearDepth
```cpp
void ClearDepth(float depth)
```
清除深度缓冲区的深度值。
**参数:**
- `depth` - 深度值(通常为 0.0 到 1.0
**示例:**
```cpp
dsv.ClearDepth(1.0f);
```
## 相关文档
- [OpenGLDepthStencilView](depth-stencil-view.md) - 返回类总览