IPixGpuCaptureCounterData::GetCollectedCounters method

Get descriptions for the counters that were requested when this counter data was collected, in the same order they were requested in the call to CollectCounters. A requested counter is included even if it produced no per-event values.

Syntax

HRESULT GetCollectedCounters(
    REFIID riid,
    void ** counters);

Parameters

riid [in]

The interface IID of the object to be returned. Expected: IPixCollection

counters [out]

The pointer to the returned interface IPixCollection<IPixGpuCaptureCounter>

Returns

S_OK if getting the counter descriptions was successful, otherwise an error code.

See also