D3D12_CPU_DESCRIPTOR_HANDLE structure (d3d12.h)
Describes a CPU descriptor handle.
Syntax
typedef struct D3D12_CPU_DESCRIPTOR_HANDLE {
SIZE_T ptr;
} D3D12_CPU_DESCRIPTOR_HANDLE;
Members
ptr
The address of the descriptor.
Remarks
This structure is returned by the following methods:
This structure is passed into the following methods:- ID3D12Device::CopyDescriptors
- ID3D12Device::CopyDescriptorsSimple
- ID3D12Device::CreateConstantBufferView
- ID3D12Device::CreateShaderResourceView
- ID3D12Device::CreateUnorderedAccessView
- ID3D12Device::CreateRenderTargetView
- ID3D12Device::CreateDepthStencilView
- ID3D12Device::CreateSampler
- ID3D12GraphicsCommandList::ClearDepthStencilView
- ID3D12GraphicsCommandList::ClearRenderTargetView
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewUint
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat
- ID3D12GraphicsCommandList::OMSetRenderTargets
To get the handle increment size use ID3D12Device.GetDescriptorHandleIncrementSize
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |
See also
CD3DX12_CPU_DESCRIPTOR_HANDLE ID3D12Device.GetDescriptorHandleIncrementSize