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

# CD3DX12_CPU_DESCRIPTOR_HANDLE (família XBOX One)

> Uma estrutura auxiliar para permitir a inicialização fácil de uma estrutura D3D12_CPU_DESCRIPTOR_HANDLE.

Uma estrutura auxiliar para permitir a inicialização fácil de uma estrutura [D3D12\_CPU\_DESCRIPTOR\_HANDLE](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_cpu_descriptor_handle).

## Sintaxe

```cpp theme={null}
struct CD3DX12_CPU_DESCRIPTOR_HANDLE : public D3D12_CPU_DESCRIPTOR_HANDLE {  
}  
```

### Membros

## Comentários

CD3DX12\_CPU\_DESCRIPTOR\_HANDLE é definida da seguinte forma:

```cpp theme={null}
struct CD3DX12_CPU_DESCRIPTOR_HANDLE : public D3D12_CPU_DESCRIPTOR_HANDLE
{
    CD3DX12_CPU_DESCRIPTOR_HANDLE();
    CD3DX12_CPU_DESCRIPTOR_HANDLE(const D3D12_CPU_DESCRIPTOR_HANDLE &o);
    CD3DX12_CPU_DESCRIPTOR_HANDLE(CD3DX12_DEFAULT);
    CD3DX12_CPU_DESCRIPTOR_HANDLE(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE &other, INT offsetScaledByIncrementSize);
    CD3DX12_CPU_DESCRIPTOR_HANDLE(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE &other, INT offsetInDescriptors, UINT descriptorIncrementSize);
    CD3DX12_CPU_DESCRIPTOR_HANDLE& Offset(INT offsetInDescriptors, UINT descriptorIncrementSize);
    CD3DX12_CPU_DESCRIPTOR_HANDLE& Offset(INT offsetScaledByIncrementSize);
    bool operator==(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other) const;
    bool operator!=(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other) const;
    CD3DX12_CPU_DESCRIPTOR_HANDLE &operator=(const D3D12_CPU_DESCRIPTOR_HANDLE &other);
    void InitOffsetted(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE &base, INT offsetScaledByIncrementSize);
    void InitOffsetted(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE &base, INT offsetInDescriptors, UINT descriptorIncrementSize);
    static void InitOffsetted(_Out_ D3D12_CPU_DESCRIPTOR_HANDLE &handle, _In_ const D3D12_CPU_DESCRIPTOR_HANDLE &base, INT offsetScaledByIncrementSize);
    static void InitOffsetted(_Out_ D3D12_CPU_DESCRIPTOR_HANDLE &handle, _In_ const D3D12_CPU_DESCRIPTOR_HANDLE &base, INT offsetInDescriptors, UINT descriptorIncrementSize);
    void* GetWritePointerX() const;
    const void* GetCachedReadPointerX() const;
};

```

## Requisitos

**Cabeçalho:** d3dx12\_x.h\
**Plataformas com suporte**: família XBOX One

## Confira também

[d3dx12\_x](/pt-BR/reference/graphics/d3dx12_x/d3dx12_x_members)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [D3D12_CPU_DESCRIPTOR_HANDLE](/pt-BR/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
- [GetDescriptorHandleIncrementSize](/pt-BR/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getdescriptorhandleincrementsize_public.md)
- [D3D12_GPU_DESCRIPTOR_HANDLE](/pt-BR/reference/graphics/d3d12/structs/d3d12_gpu_descriptor_handle_public.md)
- [D3D12_DESCRIPTOR_RANGE](/pt-BR/reference/graphics/d3d12/structs/d3d12_descriptor_range_public.md)
