IPixGenericPipeline::GetPipelineState method

Get the complete pipeline state object or state object used by this pipeline.

Syntax

HRESULT GetPipelineState(
    REFIID riid,
    void ** pipelineState);

Parameters

riid [in]

The interface IID of the state to be returned. Expected: IPixD3D12ApiObject, IPixPipelineState, or IPixStateObject.

pipelineState [out]

Pointer to the returned interface.

Returns

Returns a HRESULT value.

Remarks

Query the returned IPixD3D12ApiObject for IPixPipelineState or IPixStateObject to determine which D3D12 object it represents.

See also