Files
XCSDD/docs/api/rhi/opengl/command-list/clear-stencil.md

21 lines
274 B
Markdown
Raw Normal View History

# OpenGLCommandList::ClearStencil
```cpp
void ClearStencil(int stencil)
```
清除模板缓冲区。
**参数:**
- `stencil` - 模板值
**示例:**
```cpp
commandList->ClearStencil(0);
```
## 相关文档
- [OpenGLCommandList](command-list.md) - 返回类总览