PFND3D12DDI_CALC_PRIVATE_ADD_TO_STATE_OBJECT_SIZE_0072 callback function (d3d12umddi.h)

PFND3D12DDI_CALC_PRIVATE_ADD_TO_STATE_OBJECT_SIZE_0072 calculates the size of the state object.

Syntax

PFND3D12DDI_CALC_PRIVATE_ADD_TO_STATE_OBJECT_SIZE_0072 Pfnd3d12ddiCalcPrivateAddToStateObjectSize0072;

SIZE_T Pfnd3d12ddiCalcPrivateAddToStateObjectSize0072(
       D3D12DDI_HDEVICE unnamedParam1,
  [in] const D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

[in] unnamedParam2

Pointer to a D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 structure.

Return value

Returns the size of the state object in bytes.

Remarks

See the DirectX Raytracing (DXR) functional specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header d3d12umddi.h

See also

D3D12DDIARG_ADD_TO_STATE_OBJECT_0072

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072