Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Collects the timing data for the GPU work. Must be called after StartAnalysis.
Syntax
HRESULT CollectTiming(
BOOL collectAdditionalDataSources,
REFIID riid,
void ** timing);
Parameters
collectAdditionalDataSources [in]
Collect other data sources like occupancy and high frequency counters that can be collected in the timing pass. The data sources are pre-determined and will be collected
riid [in]
The interface IID of the object to be returned. Expected: IPixGpuCaptureTiming.
timing [out]
The pointer to the returned interface
Returns
S_OK if the getting timing was successful, otherwise an error code