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 occupancy data from the timing pass. Call IPixGpuCaptureOccupancyData::GetOccupancyTypes to get which occupancy types can be used to query occupancy data. Call IPixGpuCaptureOccupancyData::GetOccupancyStages to get which occupancy stages can be used to query occupancy data.
Syntax
HRESULT GetOccupancyData(
REFIID riid,
void ** occupancyData);
Parameters
riid [in]
The interface IID of the object to be returned. Expected: IPixGpuCaptureOccupancyData
occupancyData [out]
The pointer to the returned interface
Returns
S_OK if occupancy data was available, E_FAIL if not collected