fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
This commit is contained in:
15
docs/api/rhi/pipeline-layout/get-native-handle.md
Normal file
15
docs/api/rhi/pipeline-layout/get-native-handle.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# RHIPipelineLayout::GetNativeHandle
|
||||
|
||||
```cpp
|
||||
virtual void* GetNativeHandle() = 0;
|
||||
```
|
||||
|
||||
获取原生 API 句柄。
|
||||
|
||||
**返回:** 原生管线布局句柄
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [RHIPipelineLayout 总览](pipeline-layout.md) - 返回类总览
|
||||
18
docs/api/rhi/pipeline-layout/initialize.md
Normal file
18
docs/api/rhi/pipeline-layout/initialize.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# RHIPipelineLayout::Initialize
|
||||
|
||||
```cpp
|
||||
virtual bool Initialize(const RHIPipelineLayoutDesc& desc) = 0;
|
||||
```
|
||||
|
||||
初始化管线布局。
|
||||
|
||||
**参数:**
|
||||
- `desc` - 管线布局描述符
|
||||
|
||||
**返回:** 成功返回 `true`,失败返回 `false`
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [RHIPipelineLayout 总览](pipeline-layout.md) - 返回类总览
|
||||
25
docs/api/rhi/pipeline-layout/methods.md
Normal file
25
docs/api/rhi/pipeline-layout/methods.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# RHIPipelineLayout 方法
|
||||
|
||||
## Initialize
|
||||
|
||||
```cpp
|
||||
virtual bool Initialize(const RHIPipelineLayoutDesc& desc) = 0;
|
||||
```
|
||||
|
||||
初始化管线布局。
|
||||
|
||||
## Shutdown
|
||||
|
||||
```cpp
|
||||
virtual void Shutdown() = 0;
|
||||
```
|
||||
|
||||
释放管线布局资源。
|
||||
|
||||
## GetNativeHandle
|
||||
|
||||
```cpp
|
||||
virtual void* GetNativeHandle() = 0;
|
||||
```
|
||||
|
||||
获取原生 API 句柄。
|
||||
20
docs/api/rhi/pipeline-layout/pipeline-layout.md
Normal file
20
docs/api/rhi/pipeline-layout/pipeline-layout.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# RHIPipelineLayout
|
||||
|
||||
**命名空间**: `XCEngine::RHI`
|
||||
|
||||
**类型**: `class` (abstract)
|
||||
|
||||
**描述**: GPU 渲染管线布局抽象接口,用于定义着色器资源的绑定布局。
|
||||
|
||||
## 公共方法
|
||||
|
||||
| 方法 | 描述 |
|
||||
|------|------|
|
||||
| [`Initialize`](initialize.md) | 初始化管线布局 |
|
||||
| [`Shutdown`](shutdown.md) | 关闭并释放资源 |
|
||||
| [`GetNativeHandle`](get-native-handle.md) | 获取原生句柄 |
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [../rhi/rhi.md](../rhi.md) - RHI 模块总览
|
||||
- [RHIDevice](../device/device.md) - 创建设备
|
||||
13
docs/api/rhi/pipeline-layout/shutdown.md
Normal file
13
docs/api/rhi/pipeline-layout/shutdown.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# RHIPipelineLayout::Shutdown
|
||||
|
||||
```cpp
|
||||
virtual void Shutdown() = 0;
|
||||
```
|
||||
|
||||
释放管线布局资源。
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [RHIPipelineLayout 总览](pipeline-layout.md) - 返回类总览
|
||||
Reference in New Issue
Block a user