D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 structure (d3d12umddi.h)

Structure used to add subobject(s) to a state object via the PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 callback.

Syntax

typedef struct D3D12DDIARG_ADD_TO_STATE_OBJECT_0072 {
  D3D12DDI_STATE_OBJECT_TYPE          Type;
  UINT                                NumSubobjects;
  const D3D12DDI_STATE_SUBOBJECT_0054 *pSubobjects;
  D3D12DDI_HSTATEOBJECT_0054          StateObjectToGrowFrom;
} D3D12DDIARG_ADD_TO_STATE_OBJECT_0072;

Members

Type

A D3D12DDI_STATE_OBJECT_TYPE value indicating the type of GPU pipeline the state object is to be used with.

NumSubobjects

Number of subobjects in pSubobjects.

pSubobjects

Array of D3D12DDI_STATE_SUBOBJECT_0054 structures.

StateObjectToGrowFrom

Handle to the state object to grow from.

Remarks

See the DirectX RayTracing (DXR) Specification for more information.

Requirements

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

See also

D3D12DDI_STATE_OBJECT_TYPE

D3D12DDI_STATE_SUBOBJECT_0054

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072

PFND3D12DDI_CALC_PRIVATE_ADD_TO_STATE_OBJECT_SIZE_0072