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

@@ -6,8 +6,25 @@ virtual void Unbind() = 0;
解绑着色器。
将当前着色器从渲染管线中移除,终止其参与后续渲染操作。通常在切换渲染状态或结束特定渲染 Pass 时调用。
**线程安全:** ❌(需要在渲染线程调用)
**复杂度:** O(1)
**示例:**
```cpp
shader->Bind();
// 渲染使用该着色器的物体...
shader->Unbind();
// 切换到其他着色器
otherShader->Bind();
// ...
```
## 相关文档
- [RHIShader 总览](shader.md) - 返回类总览
- [RHIShader](shader.md) - 返回类总览
- [`Bind`](bind.md) - 绑定着色器