PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0003 callback function (d3d12umddi.h)

PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0003 calculates the number of bytes required for a private heap and resource.

Syntax

PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0003 Pfnd3d12ddiCalcprivateheapandresourcesizes0003;

D3D12DDI_HEAP_AND_RESOURCE_SIZES Pfnd3d12ddiCalcprivateheapandresourcesizes0003(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATEHEAP_0001 *unnamedParam2,
  const D3D12DDIARG_CREATERESOURCE_0003 *unnamedParam3
)
{...}

Parameters

unnamedParam1

[in] A handle to the display device (graphics context).

unnamedParam2

[in/optional] Pointer to a D3D12DDIARG_CREATEHEAP_0001 structure that describes the heap.

unnamedParam3

Pointer to a D3D12DDIARG_CREATERESOURCE_0003 structure that describes the resource.

Return value

Returns a D3D12DDI_HEAP_AND_RESOURCE_SIZES structure that specifies the sizes of the heap and resource, in bytes.

Requirements

Requirement Value
Header d3d12umddi.h