PFND3D12DDI_CALCPRIVATEOPENEDHEAPANDRESOURCESIZES_0043 callback function (d3d12umddi.h)

Pointer to a CalcPrivateOpenedHeapAndResourceSizes function that calculates sizes for private opened heap and resources.

Syntax

PFND3D12DDI_CALCPRIVATEOPENEDHEAPANDRESOURCESIZES_0043 Pfnd3d12ddiCalcprivateopenedheapandresourcesizes0043;

D3D12DDI_HEAP_AND_RESOURCE_SIZES Pfnd3d12ddiCalcprivateopenedheapandresourcesizes0043(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_OPENHEAP_0003 *unnamedParam2,
  D3D12DDI_HPROTECTEDRESOURCESESSION_0030 unnamedParam3
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Open heap and resource.

unnamedParam3

The protected resource session.

Return value

Returns D3D12DDI_HEAP_AND_RESOURCE_SIZES that contains the sizes for private opened heap and resources.

Requirements

Requirement Value
Header d3d12umddi.h