Class Stats.AdaptivePerformance
Provides performance statistics useful for adaptive performance systems. Not every stat is supported on every Oculus platform and will always return a value of 0 if unsupported.
Inherited Members
Namespace: Unity.XR.Oculus
Assembly: solution.dll
Syntax
public static class Stats.AdaptivePerformance
Properties
Name | Description |
---|---|
AdaptivePerformanceScale | Returns the recommended amount to scale GPU work in order to maintain framerate. Can be used to adjust viewportScale and textureScale |
BatteryLevel | Gets the current available battery charge, ranging from 0.0 (empty) to 1.0 (full). |
BatteryTemp | Gets the current battery temperature in degrees Celsius. |
CPULevel | Gets the current CPU performance level, integer in the range 0 - 3. |
GPUAppTime | Reports the time the application spent on the GPU last frame in seconds. |
GPUCompositorTime | Reports the time the compositor spent on the GPU last frame in seconds. |
GPULevel | Gets the current GPU performance level, integer in the range 0 - 3. |
MotionToPhoton | Reports the latency from when the last predicted tracking information was queried by the application to the moment the middle scaline of the target frame is illuminated on the display. |
PowerSavingMode | If true, the system is running in a reduced performance mode to save power. |
RefreshRate | Reports the display's refresh rate in frames per second |