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

# D3D12_GPU_DESCRIPTOR_HANDLE

> Describe un identificador de descriptor de GPU.

Describe un identificador de descriptor de GPU.

## Sintaxis

```cpp theme={null}
typedef struct D3D12_GPU_DESCRIPTOR_HANDLE
{
    UINT64 ptr;
} D3D12_GPU_DESCRIPTOR_HANDLE
```

### Miembros

*ptr*\
Tipo: UINT64

La dirección del descriptor.

## Comentarios

Esta estructura la devuelve [ID3D12DescriptorHeap::GetGPUDescriptorHandleForHeapStart](/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getgpudescriptorhandleforheapstart_public).

Esta estructura se pasa a los métodos siguientes:

<ul>
  <li>
    [ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewfloat_public)
  </li>

  <li>
    [ID3D12GraphicsCommandList::ClearUnorderedAccessViewUint](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewuint_public)
  </li>

  <li>
    [ID3D12GraphicsCommandList:SetComputeRootDescriptorTable](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootdescriptortable_public)
  </li>

  <li>
    [ID3D12GraphicsCommandList::SetGraphicsRootDescriptorTable](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootdescriptortable_public)
  </li>
</ul>

Para obtener el tamaño de incremento del identificador, use [ID3D12Device.GetDescriptorHandleIncrementSize](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getdescriptorhandleincrementsize_public)

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One

## Consulte también

[CD3DX12\_GPU\_DESCRIPTOR\_HANDLE](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-gpu-descriptor-handle)
[ID3D12Device.GetDescriptorHandleIncrementSize](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getdescriptorhandleincrementsize_public)

[Estructuras principales](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [GetGPUDescriptorHandleForHeapStart](/es/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getgpudescriptorhandleforheapstart_public.md)
- [SetComputeRootDescriptorTable](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootdescriptortable_public.md)
- [SetGraphicsRootDescriptorTable](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootdescriptortable_public.md)
- [ClearUnorderedAccessViewFloat](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewfloat_public.md)
- [ClearUnorderedAccessViewUint](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewuint_public.md)
