docs: update RHI API docs
This commit is contained in:
23
docs/api/rhi/opengl/command-queue/wait.md
Normal file
23
docs/api/rhi/opengl/command-queue/wait.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenGLCommandQueue::Wait
|
||||
|
||||
```cpp
|
||||
void Wait(RHIFence* fence, uint64_t value)
|
||||
```
|
||||
|
||||
**详细描述**: 等待围栏达到指定值。OpenGLCommandQueue 当前为存根实现,此方法为空实现。
|
||||
|
||||
**参数:**
|
||||
- `fence` - 围栏指针
|
||||
- `value` - 等待的围栏值
|
||||
|
||||
**返回值:** 无
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
commandQueue->Wait(fence, 1);
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLCommandQueue](command-queue.md) - 返回至类概览
|
||||
Reference in New Issue
Block a user