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

# GetCPUDescriptorHandleForHeapStart

> 取得代表堆積起點的 CPU 描述元控制代碼。

取得代表堆積起點的 CPU 描述元控制代碼。

## 語法

```cpp theme={null}
D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandleForHeapStart(
)
```

### 參數

### 傳回值

類型：D3D12\_CPU\_DESCRIPTOR\_HANDLE

傳回代表堆積起點的 CPU 描述元控制代碼。

## 需求

**標頭：** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**：XBOX Series 主機與 XBOX One 系列

## 另請參閱

[ID3D12DescriptorHeap](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12descriptorheap/id3d12descriptorheap_public.md)


## Related topics

- [D3D12_CPU_DESCRIPTOR_HANDLE](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
- [GetGPUDescriptorHandleForHeapStart](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getgpudescriptorhandleforheapstart_public.md)
- [D3D12_GPU_DESCRIPTOR_HANDLE](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/structs/d3d12_gpu_descriptor_handle_public.md)
- [GetDescriptorHandleIncrementSize](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getdescriptorhandleincrementsize_public.md)
- [D3D12_DESCRIPTOR_HEAP_TYPE](https://docs.xbox.com/zh-TW/reference/graphics/d3d12/enums/d3d12_descriptor_heap_type_public.md)
