> ## 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](/reference/graphics/d3d12/interfaces/id3d12descriptorheap/id3d12descriptorheap_public)


## Related topics

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