D3D12_GPU_DESCRIPTOR_HANDLE structure (d3d12.h)
Describes a GPU descriptor handle.
Syntax
typedef struct D3D12_GPU_DESCRIPTOR_HANDLE {
UINT64 ptr;
} D3D12_GPU_DESCRIPTOR_HANDLE;
Members
ptr
The address of the descriptor.
Remarks
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
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |
See also
CD3DX12_GPU_DESCRIPTOR_HANDLE ID3D12Device.GetDescriptorHandleIncrementSize