PFND3D12DDI_CALC_PRIVATE_STATE_OBJECT_SIZE_0054 callback function

Calculates the private state object size.

Syntax

PFND3D12DDI_CALC_PRIVATE_STATE_OBJECT_SIZE_0054 Pfnd3d12ddiCalcPrivateStateObjectSize0054;

SIZE_T Pfnd3d12ddiCalcPrivateStateObjectSize0054(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDIARG_CREATE_STATE_OBJECT_0054 *Arg2
)
{...}

Parameters

Arg1

A handle to the display device (graphics context).

Arg2

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

Return Value

Returns SIZE_T.

Requirements

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