> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID3D12Heap::GetDesc

> 获取堆描述。

获取堆描述。

## 语法

```cpp theme={null}
D3D12_HEAP_DESC GetDesc(
)
```

### 参数

### 返回值

类型：D3D12\_HEAP\_DESC

返回描述堆的 [D3D12\_HEAP\_DESC](/reference/graphics/d3d12/structs/d3d12_heap_desc_public) 结构。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[ID3D12Heap](/reference/graphics/d3d12/interfaces/id3d12heap/id3d12heap_public)


## Related topics

- [ID3D12DescriptorHeap::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getdesc_public.md)
- [D3D12_DESCRIPTOR_HEAP_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_descriptor_heap_desc_public.md)
- [ID3D12Heap](/zh-CN/reference/graphics/d3d12/interfaces/id3d12heap/id3d12heap_public.md)
- [ID3D12Resource::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getdesc_public.md)
- [ID3D12ProtectedResourceSession::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/methods/id3d12protectedresourcesession_getdesc_public.md)
