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:
2026-03-19 12:44:08 +08:00
parent e003fe6513
commit 58a83f445a
1012 changed files with 56880 additions and 22 deletions

View File

@@ -0,0 +1,38 @@
# D3D12RootSignature::CreateSamplerDesc
## 函数签名
```cpp
static D3D12_SAMPLER_DESC CreateSamplerDesc(FilterMode filter, TextureAddressMode address, float maxLOD = D3D12_FLOAT32_MAX)
```
## 中文描述
创建采样器描述符。
## 参数
| 参数 | 类型 | 描述 |
|------|------|------|
| `filter` | `FilterMode` | 过滤模式 |
| `address` | `TextureAddressMode` | 寻址模式 |
| `maxLOD` | `float` | 最大 LOD默认无限 |
## 返回值
`D3D12_SAMPLER_DESC` - 采样器描述符
## 复杂度
O(1)
## 示例
```cpp
D3D12_SAMPLER_DESC desc = D3D12RootSignature::CreateSamplerDesc(FilterMode::Anisotropic, TextureAddressMode::Wrap);
```
## 相关文档
- [D3D12RootSignature](root-signature.md) - 类总览
- [D3D12RootSignature::CreateStaticSampler](create-static-sampler.md) - 创建静态采样器