docs: update RHI API docs
This commit is contained in:
20
docs/api/rhi/opengl/pipeline-state/unbind.md
Normal file
20
docs/api/rhi/opengl/pipeline-state/unbind.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# OpenGLPipelineState::Unbind
|
||||
|
||||
```cpp
|
||||
void Unbind() override;
|
||||
```
|
||||
|
||||
解绑管线状态,将当前 program 设为 0。
|
||||
|
||||
**线程安全:** ❌
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
pipelineState->Unbind();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLPipelineState 总览](pipeline-state.md) - 返回类总览
|
||||
- [Bind](bind.md) - 绑定管线状态
|
||||
Reference in New Issue
Block a user