18 lines
571 B
Markdown
18 lines
571 B
Markdown
|
|
# D3D12DescriptorHeap::GetNativeHandle
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void* GetNativeHandle() override;
|
||
|
|
```
|
||
|
|
|
||
|
|
获取底层 D3D12 描述符堆原生句柄。返回 `ID3D12DescriptorHeap*` 的 `void*` 形式,用于泛型接口获取原生资源。
|
||
|
|
|
||
|
|
**返回:** `void*` 指向 `ID3D12DescriptorHeap` 的指针
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12DescriptorHeap 总览](descriptor-heap.md) - 返回类总览
|
||
|
|
- [RHIDescriptorPool::GetNativeHandle](../../descriptor-pool/get-native-handle.md) - 基类方法
|
||
|
|
- [GetDescriptorHeap](get-descriptor-heap.md) - 类型安全的获取方法
|