Main components for controlling the quality of the system to maintain a steady frame rate. Calculates a QualityLevel based on the reported frame rate and the refresh rate of the device inside the provided thresholds. A QualityChangedEvent is triggered whenever the quality level changes. Uses the GpuTimingCamera component to measure GPU time of the frame, if the Camera doesn't already have this component, it is automatically added.
More...
Main components for controlling the quality of the system to maintain a steady frame rate. Calculates a QualityLevel based on the reported frame rate and the refresh rate of the device inside the provided thresholds. A QualityChangedEvent is triggered whenever the quality level changes. Uses the GpuTimingCamera component to measure GPU time of the frame, if the Camera doesn't already have this component, it is automatically added.
Definition at line 15 of file AdaptiveQuality.cs.
§ QualityChangedEvent()
| delegate void HoloToolkit.Unity.AdaptiveQuality.QualityChangedEvent |
( |
int |
newQuality, |
|
|
int |
previousQuality |
|
) |
| |
§ Update()
| void HoloToolkit.Unity.AdaptiveQuality.Update |
( |
| ) |
|
|
protected |
§ TimingTag
| const string HoloToolkit.Unity.AdaptiveQuality.TimingTag = "Frame" |
§ QualityLevel
| int HoloToolkit.Unity.AdaptiveQuality.QualityLevel |
|
get |
§ RefreshRate
| int HoloToolkit.Unity.AdaptiveQuality.RefreshRate |
|
get |
§ QualityChanged
The documentation for this class was generated from the following file: