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.
Gets the occupancy interface for standalone occupancy collection. Must be called after StartAnalysis. This call doesn't collect occupancy. To collect occupancy, call CollectOccupancy on IPixGpuCaptureOccupancy returned by this method.
Syntax
HRESULT GetOccupancy(
REFIID riid,
void ** occupancy);
Parameters
riid [in]
The interface IID of the object to be returned. Expected: IPixGpuCaptureOccupancy
occupancy [out]
The pointer to the returned interface
Returns
S_OK if getting the occupancy interface was successful, otherwise an error code