fix(rhi): Fix RHI abstraction layer API docs per api-skill.md template

- Rename texture/dtor.md to destructor.md per template spec
- Remove duplicate non-hyphenated fence docs (getnativehandle.md, issignaled.md, getcompletedvalue.md)
- Fix template field issues:
  - swap-chain, command-queue: 类型 now uses 'class (abstract)'
  - sampler: 头文件 now uses full path 'XCEngine/RHI/RHISampler.h'
  - types: 类型 fixed from 'structs' to 'struct'
  - enums: 类型 fixed from 'enums' to 'enum class'
- Fix include paths in command-queue and pipeline-layout code examples
- Create missing constructor/destructor docs for 11 classes:
  buffer, texture, shader, device, command-list, command-queue,
  fence, sampler, swap-chain, pipeline-state, pipeline-layout
- Update class overview pages to include constructor/destructor entries
This commit is contained in:
2026-03-22 03:07:41 +08:00
parent 11919aad2f
commit d83ed56177
40 changed files with 667 additions and 116 deletions

View File

@@ -18,13 +18,15 @@ RHIFence 是 RHIRender Hardware Interface子系统中的围栏抽象接口
| 方法 | 描述 |
|------|------|
| [`RHIFence`](constructor.md) | 默认构造函数 |
| [`~RHIFence`](destructor.md) | 虚析构函数 |
| [`Shutdown`](shutdown.md) | 关闭围栏并释放资源 |
| [`Signal`](signal.md) | 发送信号(无参数版本) |
| [`Signal`](signal-value.md) | 发送信号(带值版本) |
| [`Wait`](wait.md) | 等待围栏达到指定值 |
| [`GetCompletedValue`](getcompletedvalue.md) | 获取已完成的值 |
| [`IsSignaled`](issignaled.md) | 检查围栏是否已发出信号 |
| [`GetNativeHandle`](getnativehandle.md) | 获取原生句柄 |
| [`GetCompletedValue`](get-completed-value.md) | 获取已完成的值 |
| [`IsSignaled`](is-signaled.md) | 检查围栏是否已发出信号 |
| [`GetNativeHandle`](get-native-handle.md) | 获取原生句柄 |
## 使用示例