IPixGpuCaptureAnalysis::GetGpuCounters method

Gets the counter interface for GPU capture counters. Must be called after StartAnalysis. This call doesn't collect counters. To collect counters, call CollectCounters on IPixGpuCaptureCounters returned by this method.

Syntax

HRESULT GetGpuCounters(
    REFIID riid,
    void ** gpuCounters);

Parameters

riid [in]

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

gpuCounters [out]

The pointer to the returned interface

Returns

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

See also