docs: update RHI API docs
This commit is contained in:
35
docs/api/rhi/d3d12/query-heap/shutdown.md
Normal file
35
docs/api/rhi/d3d12/query-heap/shutdown.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# D3D12QueryHeap::Shutdown
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
void Shutdown()
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
关闭查询堆,释放所有关联的 GPU 资源。将重置内部状态为默认值。
|
||||
|
||||
## 参数
|
||||
|
||||
无
|
||||
|
||||
## 返回值
|
||||
|
||||
无
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
D3D12QueryHeap queryHeap;
|
||||
queryHeap.Initialize(device, QueryType::Timestamp, 1024);
|
||||
|
||||
// 使用查询堆...
|
||||
|
||||
queryHeap.Shutdown(); // 释放资源
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12QueryHeap](query-heap.md)
|
||||
- [Initialize](initialize.md)
|
||||
Reference in New Issue
Block a user