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:
19
docs/api/rhi/d3d12/depth-stencil-view/create-desc.md
Normal file
19
docs/api/rhi/d3d12/depth-stencil-view/create-desc.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# D3D12DepthStencilView::CreateDesc
|
||||
|
||||
```cpp
|
||||
static D3D12_DEPTH_STENCIL_VIEW_DESC CreateDesc(Format format, D3D12_DSV_DIMENSION dimension = D3D12_DSV_DIMENSION_TEXTURE2D);
|
||||
```
|
||||
|
||||
创建深度模板视图描述(静态方法)。
|
||||
|
||||
**参数:**
|
||||
- `format` - 格式
|
||||
- `dimension` - 视图维度
|
||||
|
||||
**返回:** D3D12 深度模板视图描述
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12DepthStencilView 总览](depth-stencil-view.md) - 返回类总览
|
||||
19
docs/api/rhi/d3d12/depth-stencil-view/depth-stencil-view.md
Normal file
19
docs/api/rhi/d3d12/depth-stencil-view/depth-stencil-view.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# D3D12DepthStencilView
|
||||
|
||||
**命名空间**: `XCEngine::RHI`
|
||||
|
||||
**描述**: DirectX 12 深度模板视图的 D3D12 实现。
|
||||
|
||||
## 公共方法
|
||||
|
||||
| 方法 | 描述 |
|
||||
|------|------|
|
||||
| [`Initialize`](../../../threading/task-system/initialize.md) | 初始化深度模板视图 |
|
||||
| [`InitializeAt`](initialize-at.md) | 在指定位置初始化 |
|
||||
| [`Shutdown`](../../../threading/task-system/shutdown.md) | 关闭深度模板视图 |
|
||||
| [`GetCPUDescriptorHandle`](get-cpu-descriptor-handle.md) | 获取 CPU 描述符句柄 |
|
||||
| [`CreateDesc`](create-desc.md) | 创建描述符(静态) |
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12 后端总览](../../opengl/overview.md)
|
||||
@@ -0,0 +1,15 @@
|
||||
# D3D12DepthStencilView::GetCPUDescriptorHandle
|
||||
|
||||
```cpp
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle() const { return m_handle; }
|
||||
```
|
||||
|
||||
获取 CPU 描述符句柄。
|
||||
|
||||
**返回:** CPU 描述符句柄
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12DepthStencilView 总览](depth-stencil-view.md) - 返回类总览
|
||||
19
docs/api/rhi/d3d12/depth-stencil-view/initialize-at.md
Normal file
19
docs/api/rhi/d3d12/depth-stencil-view/initialize-at.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# D3D12DepthStencilView::InitializeAt
|
||||
|
||||
```cpp
|
||||
void InitializeAt(ID3D12Device* device, ID3D12Resource* resource, D3D12_CPU_DESCRIPTOR_HANDLE handle, const D3D12_DEPTH_STENCIL_VIEW_DESC* desc = nullptr);
|
||||
```
|
||||
|
||||
在指定位置初始化深度模板视图。
|
||||
|
||||
**参数:**
|
||||
- `device` - D3D12 设备
|
||||
- `resource` - D3D12 资源
|
||||
- `handle` - CPU 描述符句柄
|
||||
- `desc` - 深度模板视图描述
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12DepthStencilView 总览](depth-stencil-view.md) - 返回类总览
|
||||
Reference in New Issue
Block a user