Syntax
Parameters
DescriptorHeapType [in]Type: D3D12_DESCRIPTOR_HEAP_TYPE The D3D12_DESCRIPTOR_HEAP_TYPE-typed value that specifies the type of descriptor heap to get the size of the handle increment for.
Return value
Type: UINT Returns the size of the handle increment for the given type of descriptor heap, including any necessary padding.Remarks
The descriptor size returned by this method is used as one input to the helper structures CD3DX12_CPU_DESCRIPTOR_HANDLE and CD3DX12_GPU_DESCRIPTOR_HANDLE.Examples
The D3D12PredicationQueries sample uses ID3D12Device::GetDescriptorHandleIncrementSize as follows: Create the descriptor heap for the resources. Them_rtvDescriptorSize variable stores the render target view descriptor handle increment size, and is used in the Create frame resources section of the code.
Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
