AdaptiveOnDemandRendering
A scaler used by AdaptivePerformanceIndexer to render frames less frequently by increasing the on-demand rendering frame interval.
Read time 5 minutesLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
- Inherits from: AdaptivePerformanceScaler
public class AdaptiveOnDemandRendering : AdaptivePerformanceScaler
Remarks
In battery mode, the scaler raises based on the Indexer's AdaptivePerformanceIndexer.IdleScale to save power while the player is idle. In normal mode, it sets the interval from the scaler's current level.
OnDemandRendering.renderFrameIntervalMethods
Method | Description |
|---|---|
| Awake | Ensures settings are applied during startup. |
| OnDisabled | Callback when scaler gets disabled and removed from indexer |
| OnEnabled | Callback when scaler gets enabled and added to the indexer |
| OnLevel | Callback for any level change. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |