Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2.23 KB

nc-d3d12umddi-pfnd3d12ddi_calcprivateheapandresourcesizes_0088.md

File metadata and controls

75 lines (59 loc) · 2.23 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs helpviewer_keywords
NC:d3d12umddi.PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088
display
PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088
02/28/2023
Windows
Learn more about the PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088 callback function.
true
function
d3d12umddi.h
Windows 11 (WDDM 3.0)
apiref
LibDef
d3d12umddi.h
PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088
PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088
d3d12umddi/PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088
c++
PFND3D12DDI_CALCPRIVATEHEAPANDRESOURCESIZES_0088

-description

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

-parameters

-param unnamedParam1

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

-param unnamedParam2

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

-param unnamedParam3

[in/optional] Pointer to a D3D12DDIARG_CREATERESOURCE_0088 structure that describes the resource.

-param unnamedParam4

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

-returns

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

-see-also

D3D12DDIARG_CREATERESOURCE_0088

PFND3D12DDI_CREATEHEAPANDRESOURCE_0088