IPixD3DState::GetPredication method

Get the predication buffer, buffer offset and operation currently set on the command list via ID3D12GraphicsCommandList::SetPredication.

Syntax

HRESULT GetPredication(
    REFIID riid,
    void ** ppBuffer,
    UINT64 * pAlignedBufferOffset,
    D3D12_PREDICATION_OP * pOperation);

Parameters

riid [in]

The interface IID of the predicate buffer to be returned. Expected: IPixD3D12Resource.

ppBuffer [out]

Pointer to the returned interface.

pAlignedBufferOffset [out]

No description provided.

pOperation [out]

No description provided.

Returns

Returns failure if predication is not enabled or is not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).

See also