PFND3D12DDI_CREATE_STATE_OBJECT_0054 callback function

Creates a state object. A state object represents a variable amount of configuration state, including shaders, that an application manages as a single unit and which is given to a driver atomically to process (e.g. compile/optimize) however it sees fit. State objects are built out of subobjects. A subobject has a type and corresponding data.

Syntax

PFND3D12DDI_CREATE_STATE_OBJECT_0054 Pfnd3d12ddiCreateStateObject0054;

HRESULT Pfnd3d12ddiCreateStateObject0054(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDIARG_CREATE_STATE_OBJECT_0054 *Arg2,
  D3D12DDI_HSTATEOBJECT_0054 Arg3,
  D3D12DDI_HRTSTATEOBJECT_0054 Arg4
)
{...}

Parameters

Arg1

Handle to the device.

Arg2

Pointer to a D3D12DDIARG_CREATE_STATE_OBJECT_0054 structure.

Arg3

Handle to a runtime handle type state object.

Arg4

Return Value

Returns HRESULT.

Requirements

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