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

# GetGPUDescriptorHandleForHeapStart

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

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

## 語法

```cpp theme={null}
D3D12_GPU_DESCRIPTOR_HANDLE GetGPUDescriptorHandleForHeapStart(
)
```

### 參數

### 傳回值

類型：D3D12\_GPU\_DESCRIPTOR\_HANDLE

傳回代表堆積起點的 GPU 描述元控制代碼。如果描述元堆積不是著色器可見的，則會傳回 null 控制代碼。

## 需求

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

## 另請參閱

[ID3D12DescriptorHeap](/zh-TW/reference/graphics/d3d12/interfaces/id3d12descriptorheap/id3d12descriptorheap_public)


## Related topics

- [D3D12_GPU_DESCRIPTOR_HANDLE](/zh-TW/reference/graphics/d3d12/structs/d3d12_gpu_descriptor_handle_public.md)
- [GetCPUDescriptorHandleForHeapStart](/zh-TW/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getcpudescriptorhandleforheapstart_public.md)
- [D3D12_CPU_DESCRIPTOR_HANDLE](/zh-TW/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
- [GetDescriptorHandleIncrementSize](/zh-TW/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getdescriptorhandleincrementsize_public.md)
- [CopyDescriptorsSimple](/zh-TW/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_copydescriptorssimple_public.md)
