PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES callback function (d3d12umddi.h)

The PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES callback function gets the size of the handle, in bytes, for a given type of descriptor heap.

Syntax

PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES Pfnd3d12ddiGetDescriptorSizeInBytes;

UINT Pfnd3d12ddiGetDescriptorSizeInBytes(
  D3D12DDI_HDEVICE unnamedParam1,
  D3D12DDI_DESCRIPTOR_HEAP_TYPE unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

The D3D12DDI_DESCRIPTOR_HEAP_TYPE-typed value that specifies the type of descriptor heap to get the size of the handle increment for.

Return value

Returns UINT.

Requirements

Requirement Value
Header d3d12umddi.h