docs: Fix SKILL.md规范 violations - Remove ## 方法列表 and flatten ### sub-headers in ## 公共方法

This commit is contained in:
2026-03-19 02:01:18 +08:00
parent 8e85fd98b8
commit 5257f3d75c
68 changed files with 718 additions and 1289 deletions

View File

@@ -4,24 +4,25 @@
**描述**: DirectX 12 着色器的 D3D12 实现,继承自 `RHIShader`
## 方法列表
## 公共方法
| 方法 | 文档 |
| 方法 | 描述 |
|------|------|
| `CompileFromFile` | [详细文档](../../shader/compile-from-file.md) |
| `Compile` | [详细文档](../../shader/compile.md) |
| `Shutdown` | [详细文档](../../../threading/task-system/shutdown.md) |
| `GetD3D12Bytecode` | [详细文档](get-d3d12-bytecode.md) |
| `GetBytecode` | [详细文档](get-bytecode.md) |
| `GetBytecodeSize` | [详细文档](get-bytecode-size.md) |
| `GetType` | [详细文档](../../shader/get-type.md) |
| `GetInputLayout` | [详细文档](get-input-layout.md) |
| `GetNativeHandle` | [详细文档](../../buffer/get-native-handle.md) |
| `IsValid` | [详细文档](../../shader/is-valid.md) |
| `Bind` / `Unbind` | [详细文档](../../shader/bind.md) |
| `SetInt` / `SetFloat` / `SetVec3` / `SetVec4` / `SetMat4` | [详细文档](set-uniforms.md) |
| [`CompileFromFile`](../../shader/compile-from-file.md) | 从文件编译着色器 |
| [`Compile`](../../shader/compile.md) | 从源码编译着色器 |
| [`Shutdown`](../../../threading/task-system/shutdown.md) | 关闭着色器 |
| [`GetD3D12Bytecode`](get-d3d12-bytecode.md) | 获取 D3D12 字节码 |
| [`GetBytecode`](get-bytecode.md) | 获取字节码 |
| [`GetBytecodeSize`](get-bytecode-size.md) | 获取字节码大小 |
| [`GetType`](../../command-queue/get-type.md) | 获取着色器类型 |
| [`GetInputLayout`](get-input-layout.md) | 获取输入布局 |
| [`GetNativeHandle`](../../buffer/get-native-handle.md) | 获取原生句柄 |
| [`IsValid`](../../shader/is-valid.md) | 检查是否有效 |
| [`Bind`](../../shader/bind.md) | 绑定着色器 |
| [`Unbind`](../../shader/unbind.md) | 解绑着色器 |
| [`SetUniforms`](set-uniforms.md) | 设置 uniform 变量 |
## 相关文档
- [D3D12 后端总览](../overview.md)
- [D3D12 后端总览](../../opengl/overview.md)
- [RHIShader](../../shader/shader.md) - 抽象着色器接口