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,30 @@
virtual void Shutdown() = 0;
```
释放管线状态对象资源。
关闭并释放管线状态资源。此方法用于在管线状态不再需要时进行清理工作,释放底层图形 API 分配的资源。
**参数:**
**返回:**
**线程安全:**
**复杂度:** O(1)
**示例:**
```cpp
#include "XCEngine/RHI/RHIPipelineState.h"
class MyRenderer {
void ReleasePipeline(RHIPipelineState* pipeline) {
if (pipeline) {
pipeline->Shutdown();
}
}
};
```
## 相关文档
- [RHIPipelineState 总览](pipeline-state.md) - 返回类总览
- [RHIPipelineState](pipeline-state.md) - 返回类总览