IPixUnorderedAccessView::GetCounterResource method

Get the counter resource, fails if not specified.

Syntax

HRESULT GetCounterResource(
    REFIID riid,
    void ** counterResource);

Parameters

riid [in]

The interface IID of the D3D12 resource to be returned. Expected: IPixD3D12Resource.

counterResource [out]

Pointer to the returned interface.

Returns

Returns a HRESULT value.

See also