Class AdaptiveResolution
A scaler used by AdaptivePerformanceIndexer to adjust the resolution of all render targets that allow dynamic resolution. If a device or graphics API doesn't support a dynamic resolution, it will use the rendering pipeline's render scale multiplier as a fallback.
Inherited Members
Namespace: UnityEngine.AdaptivePerformance
Syntax
[Preserve]
public class AdaptiveResolution : AdaptivePerformanceScaler
Methods
Awake()
Ensures settings are applied during startup.
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
OnLevel()
Callback for any level change
Declaration
protected override void OnLevel()