PFND3D12DDI_CREATE_PIPELINE_STATE_0021 callback function

The pfnCreatePipelineState callback function creates a pipeline state.

Syntax

PFND3D12DDI_CREATE_PIPELINE_STATE_0021 Pfnd3d12ddiCreatePipelineState0021;

HRESULT Pfnd3d12ddiCreatePipelineState0021(
  D3D12DDI_HDEVICE Arg1,
  const D3D12DDIARG_CREATE_PIPELINE_STATE_0010 *Arg2,
  D3D12DDI_HPIPELINESTATE Arg3,
  D3D12DDI_HRTPIPELINESTATE Arg4
)
{...}

Parameters

Arg1

hDevice

A handle to the display device (graphics context).

Arg2

CreatePipelineState [in]

A value used to create a pipeline state.

Arg3

hRTPipelineState

The handle of the pipeline state for the driver to use when it calls back into the runtime.

Arg4

Return Value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Access this function by using the D3D12DDI_DEVICE_FUNCS_CORE_0021 structure.

Requirements

   
Target Platform Windows
Header d3d12umddi.h (include D3d12umddi.h)