PFND3D12DDI_CREATE_PIPELINE_STATE_0021 callback function (d3d12umddi.h)

The pfnCreatePipelineState callback function creates a pipeline state.

Syntax

PFND3D12DDI_CREATE_PIPELINE_STATE_0021 Pfnd3d12ddiCreatePipelineState0021;

HRESULT Pfnd3d12ddiCreatePipelineState0021(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATE_PIPELINE_STATE_0010 *unnamedParam2,
  D3D12DDI_HPIPELINESTATE unnamedParam3,
  D3D12DDI_HRTPIPELINESTATE unnamedParam4
)
{...}

Parameters

unnamedParam1

hDevice

A handle to the display device (graphics context).

unnamedParam2

CreatePipelineState [in]

A value used to create a pipeline state.

unnamedParam3

hRTPipelineState

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

unnamedParam4

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)