docs: update RHI API docs
This commit is contained in:
@@ -11,6 +11,15 @@ void TrackResource(ID3D12Resource* resource);
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
ID3D12Resource* resource = /* 获取资源 */;
|
||||
cmdList.TrackResource(resource);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12CommandList 总览](command-list.md) - 返回类总览
|
||||
- [GetResourceState](get-resource-state.md) - 获取资源状态
|
||||
- [TransitionBarrier](transition-barrier.md) - 资源状态转换
|
||||
Reference in New Issue
Block a user