PFND3D12DDI_GET_DESCRIPTOR_SIZE_IN_BYTES callback function

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 Arg1,
  D3D12DDI_DESCRIPTOR_HEAP_TYPE Arg2
)
{...}

Parameters

Arg1

A handle to the display device (graphics context).

Arg2

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

   
Header d3d12umddi.h