PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0075 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0075 Pfnd3d12ddiCalcprivateheapandresourcesizes0075;

D3D12DDI_HEAP_AND_RESOURCE_SIZES Pfnd3d12ddiCalcprivateheapandresourcesizes0075(
  [in]           D3D12DDI_HDEVICE unnamedParam1,
  [in, optional] const D3D12DDIARG_CREATEHEAP_0001 *unnamedParam2,
  [in, optional] const D3D12DDIARG_CREATERESOURCE_0075 *unnamedParam3,
                 D3D12DDI_HPROTECTEDRESOURCESESSION_0030 unnamedParam4
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_calcprivateheapandresourcesizes_0075)

PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0075 callback function

Description

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

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 [in, optional]

Pointer to a D3D12DDIARG_CREATERESOURCE_0075 structure that describes the resource.

unnamedParam4

The protected resource session to use for the heap/resource being created. Zero indicates unprotected resources. See the Protected Resources Specification for more information.

Return value

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

See also

D3D12DDIARG_CREATERESOURCE_0075