> ## 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

> 堆是连续内存分配的抽象，用于管理物理内存。此堆可与 ID3D12Resource 对象一起使用，以支持放置。

堆是连续内存分配的抽象，用于管理物理内存。此堆可与 [ID3D12Resource](/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs) 对象一起使用，以支持放置资源或保留资源。

## 要求

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

## 另请参阅

[核心接口](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-interfaces)

[ID3D12Pageable](/reference/graphics/d3d12/interfaces/id3d12pageable/id3d12pageable_public)

[Direct3D 12 中的内存管理](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/memory-management)


## Related topics

- [ID3D12Heap::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12heap/methods/id3d12heap_getdesc_public.md)
- [OpenExistingHeapFromAddress](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device3/methods/id3d12device3_openexistingheapfromaddress_public.md)
- [OpenExistingHeapFromFileMapping](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device3/methods/id3d12device3_openexistingheapfromfilemapping_public.md)
- [OpenSharedHandle](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_opensharedhandle_public.md)
- [CreateHeap](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createheap_public.md)
