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

21 lines
285 B
Markdown
Raw Normal View History

# OpenGLCommandList::SetStencilRef
```cpp
void SetStencilRef(uint8_t ref)
```
设置模板测试参考值。
**参数:**
- `ref` - 模板参考值
**示例:**
```cpp
commandList->SetStencilRef(1);
```
## 相关文档
- [OpenGLCommandList](command-list.md) - 返回类总览