PFND3D12DDI_CALC_PRIVATE_STATE_OBJECT_SIZE_0054 callback function (d3d12umddi.h)

Calculates the private state object size.

Syntax

PFND3D12DDI_CALC_PRIVATE_STATE_OBJECT_SIZE_0054 Pfnd3d12ddiCalcPrivateStateObjectSize0054;

SIZE_T Pfnd3d12ddiCalcPrivateStateObjectSize0054(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATE_STATE_OBJECT_0054 *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Pointer to a D3D12DDIARG_CREATE_STATE_OBJECT_0054 structure that contains the arguments for a state object.

Return value

Returns SIZE_T.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h (include d3d12umddi.h)