Class AdaptiveVariableRefreshRate
A scaler used by AdaptivePerformanceIndexer to adjust the rendering rate using VariableRefreshRate.
Inherited Members
Namespace: UnityEngine.AdaptivePerformance
Syntax
public class AdaptiveVariableRefreshRate : AdaptiveFramerate
Properties
Enabled
Returns true if this scaler is active, false otherwise.
Declaration
public override bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Name
Returns the name of the scaler.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
Awake()
Override for Awake in the base class to set up for Variable Refresh Rate.
Declaration
protected override void Awake()
Overrides
OnDisabled()
Callback when scaler gets disabled and removed from indexer.
Declaration
protected override void OnDisabled()
Overrides
OnEnabled()
Callback when scaler gets enabled and added to the indexer.
Declaration
protected override void OnEnabled()
Overrides
OnLevelDecrease()
Callback for when the performance level is decreased.
Declaration
protected override void OnLevelDecrease()
Overrides
OnLevelIncrease()
Callback for when the performance level is increased.
Declaration
protected override void OnLevelIncrease()