Initial commit: XCEngine API Docs Viewer

This commit is contained in:
2026-03-18 13:09:14 +08:00
commit 351557a19b
24 changed files with 4082 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# RHICommandQueue 类
**命名空间**: XCEngine.RHI
**类型**: class
**描述**: 命令队列抽象,用于提交渲染命令到 GPU。
## 公共方法
| 方法 | 描述 |
|------|------|
| Submit() | 提交命令缓冲区到队列 |
| Wait() | 等待队列执行完成 |
| Signal() | 信号同步对象 |
## 枚举
| 枚举值 | 描述 |
|--------|------|
| Direct | 直接命令队列 |
| Compute | 计算命令队列 |
| Copy | 复制命令队列 |
## 示例代码
```cpp
RHICommandQueue* queue = device->GetCommandQueue(RHIQueueType::Direct);
queue->Submit(commandBuffer);
```
@see RHICommandList.md