PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 callback function (d3d12umddi.h)

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 incrementally adds to an existing state object.

Syntax

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 Pfnd3d12ddiAddToStateObject0072;

HRESULT Pfnd3d12ddiAddToStateObject0072(
       D3D12DDI_HDEVICE unnamedParam1,
  [in] const D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 *unnamedParam2,
       D3D12DDI_HSTATEOBJECT_0054 unnamedParam3,
       D3D12DDI_HRTSTATEOBJECT_0054 unnamedParam4
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

[in] unnamedParam2

Pointer to a D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 structure containing subobject(s) to add to a state object.

unnamedParam3

Handle to a state object.

unnamedParam4

Handle to a runtime handle type state object.

Return value

Returns HRESULT.

Remarks

A state object is created via PFND3D12DDI_CREATE_STATE_OBJECT_0054.

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_CREATE_STATE_OBJECT_0054