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 |
---|---|
Adaptive |
Returns the recommended amount to scale GPU work in order to maintain framerate. Can be used to adjust viewportScale and textureScale |
Battery |
Gets the current available battery charge, ranging from 0.0 (empty) to 1.0 (full). |
Battery |
Gets the current battery temperature in degrees Celsius. |
CPULevel | Gets the current CPU performance level, integer in the range 0 - 3. |
GPUApp |
Reports the time the application spent on the GPU last frame in seconds. |
GPUCompositor |
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. |
Motion |
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. |
Power |
If true, the system is running in a reduced performance mode to save power. |
Refresh |
Reports the display's refresh rate in frames per second |