docs: update RHI API docs

This commit is contained in:
2026-03-20 02:35:45 +08:00
parent ea756c0177
commit 070b444f8f
501 changed files with 13493 additions and 2022 deletions

View File

@@ -4,10 +4,18 @@
virtual void SetStencilRef(uint8_t ref) = 0;
```
设置模板参考值
设置模板测试的参考值。模板测试将每个像素的模板值与此参考值进行比较,决定像素是否被写入
**参数:**
- `ref` - 模板参考值
- `ref` - 模板参考值(范围 0-255
**返回:** `void`
**异常:**
**线程安全:**
**复杂度:** O(1)
**示例:**
@@ -18,3 +26,4 @@ cmdList->SetStencilRef(0xFF);
## 相关文档
- [RHICommandList 总览](command-list.md) - 返回类总览
- [SetDepthStencilState](set-depth-stencil-state.md) - 设置深度模板状态