D3D12_GPU_DESCRIPTOR_HANDLE structure (d3d12.h)
Describes a GPU descriptor handle.
C++
typedef struct D3D12_GPU_DESCRIPTOR_HANDLE {
UINT64 ptr;
} D3D12_GPU_DESCRIPTOR_HANDLE;
ptr
The address of the descriptor.
This structure is returned by ID3D12DescriptorHeap::GetGPUDescriptorHandleForHeapStart.
This structure is passed into the following methods:
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewUint
- ID3D12GraphicsCommandList:SetComputeRootDescriptorTable
- ID3D12GraphicsCommandList::SetGraphicsRootDescriptorTable
To get the handle increment size use ID3D12Device.GetDescriptorHandleIncrementSize
Requirement | Value |
---|---|
Header | d3d12.h |
CD3DX12_GPU_DESCRIPTOR_HANDLE ID3D12Device.GetDescriptorHandleIncrementSize