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

@@ -0,0 +1,37 @@
# D3D12Fence::Wait
## 函数签名
```cpp
void Wait(uint64_t value) override
```
## 中文描述
阻塞等待直到栅栏值达到指定值。利用 Win32 事件进行高效等待。
## 参数
| 参数 | 类型 | 描述 |
|------|------|------|
| `value` | `uint64_t` | 要等待的栅栏值 |
## 返回值
## 复杂度
O(1) 到 O(n)n 为等待时间
## 示例
```cpp
fence.Wait(1); // 等待栅栏值达到 1
```
## 相关文档
- [D3D12Fence](fence.md) - 类总览
- [D3D12Fence::Signal](signal.md) - 信号栅栏
- [D3D12Fence::GetCompletedValue](get-completed-value.md) - 获取完成值