Files
XCSDD/docs/api/rhi/d3d12/descriptor-heap/create-desc.md
ssdfasd 58a83f445a 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
2026-03-19 12:44:08 +08:00

21 lines
493 B
Markdown

# D3D12DescriptorHeap::CreateDesc
```cpp
static D3D12_DESCRIPTOR_HEAP_DESC CreateDesc(DescriptorHeapType type, uint32_t numDescriptors, bool shaderVisible = false);
```
创建描述符堆描述(静态方法)。
**参数:**
- `type` - 描述符堆类型
- `numDescriptors` - 描述符数量
- `shaderVisible` - 是否对 Shader 可见
**返回:** D3D12 描述符堆描述
**复杂度:** O(1)
## 相关文档
- [D3D12DescriptorHeap 总览](descriptor-heap.md) - 返回类总览