IPixD3DState::GetGraphicsRootSignature method

Get the graphics root signature currently bound on the command list via ID3D12GraphicsCommandList::SetGraphicsRootSignature.

Syntax

HRESULT GetGraphicsRootSignature(
    REFIID riid,
    void ** ppRootSignature);

Parameters

riid [in]

The interface IID of the root signature to be returned. Expected: IPixRootSignature.

ppRootSignature [out]

Pointer to the returned interface.

Returns

Returns failure if no graphics root signature is bound or not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also