Namespace UnityEngine.AdaptivePerformance
Classes
AdaptiveBatching
A scaler used by Adaptive
AdaptiveDecals
A scaler used by Adaptive
AdaptiveFramerate
A scaler used by Adaptive
AdaptiveLOD
A scaler used by Adaptive
AdaptiveLayerCulling
A scaler used by Adaptive
AdaptiveLut
A scaler used by Adaptive
AdaptiveMSAA
A scaler used by Adaptive
AdaptivePerformanceConfigurationDataAttribute
This attribute is used to tag classes as providing build settings support for an Adaptive Performance provider. The unified setting system will present the settings as an inspectable object in the Project Settings window using the built-in inspector UI.
The implementor of the settings is able to create their own custom UI and the Project Settings system will use that UI in place of the build-in one in the Inspector. See the Extending the Editor page in the Unity Manual for more information.
AdaptivePerformanceGeneralSettings
General settings container used to house the instance of the active settings, as well as the manager instance used to load the loaders with.
AdaptivePerformanceIndexer
Higher level implementation of Adaptive performance that tracks performance and thermal states of the device and provides them to Adaptive
AdaptivePerformanceIndexerSettings
Settings of indexer system.
AdaptivePerformanceLoader
Adaptive Performance Loader abstract class used as a base class for specific provider implementations. Providers should implement subclasses of this to provide specific initialization and management implementations that make sense for their supported scenarios and needs.
AdaptivePerformanceLoaderHelper
Adaptive Performance Loader abstract subclass used as a base class for specific provider implementations. Class provides some helper logic that can be used to handle subsystem handling in a typesafe manner, reducing potential boilerplate code.
AdaptivePerformanceManagerSettings
Class to handle active loader and subsystem management for Adaptive Performance. This class is to be added as a
ScriptableObject asset in your project and should only be referenced by an Adaptive
Given a list of loaders, it will attempt to load each loader in the given order. Unity will use the first
loader that is successful and ignore all remaining loaders. The successful loader
is accessible through the active
Depending on configuration, the Adaptive
Disabling automatic
Unity executes atomatic lifecycle management as follows:
- OnEnable calls Initialize
Loader() internally. The loader list will be iterated over and the first successful loader will be set as the active loader. - Start calls Start
Subsystems() internally. Ask the active loader to start all subsystems. - OnDisable calls Stop
Subsystems() internally. Ask the active loader to stop all subsystems. - OnDestroy calls Deinitialize
Loader() internally. Deinitialize and remove the active loader.
AdaptivePerformanceRenderSettings
This class is used to store changes to a number of rendering quality settings that are applied when using the Universal Render Pipeline.
AdaptivePerformanceScaler
Abstract class representing single feature that is controlled by Adaptive
AdaptivePerformanceScalerProfile
Scaler profiles are used to combine all settings of scalers into one profile to be able to change the settings of each scaler at once.
AdaptivePerformanceScalerSettings
Settings of indexer system.
AdaptivePerformanceScalerSettingsBase
Settings of indexer system.
AdaptivePhysics
A scaler used by Adaptive
AdaptiveResolution
A scaler used by Adaptive
AdaptiveShadowCascade
A scaler used by Adaptive
AdaptiveShadowDistance
A scaler used by Adaptive
AdaptiveShadowQuality
A scaler used by Adaptive
AdaptiveShadowmapResolution
A scaler used by Adaptive
AdaptiveSorting
A scaler used by Adaptive
AdaptiveTransparency
A scaler used by Adaptive
AdaptiveViewDistance
A scaler used by Adaptive
Constants
Constants used by Adaptive Performance.
Holder
Global access to the default Adaptive Performance interface and lifecycle management controls.
IAdaptivePerformanceSettings
Provider Settings Interface as base class of the provider. Used to control the Editor runtime asset instance which stores the Settings.
Structs
ClusterInfo
The cluster info describes the CPU Cluster setup.
FrameTiming
FrameTiming stores timing information about CPU, GPU, and the overall frame time.
PerformanceBoostChangeEventArgs
Event arguments for boost changes. These are used in the Performance
PerformanceBottleneckChangeEventArgs
Event arguments for performance bottleneck changes. These are used in the Performance
PerformanceLevelChangeEventArgs
Arguments for the performance level change event. These are used in the Performance
PerformanceMetrics
PerformanceMetrics store the current bottleneck, CPU, and GPU levels
ThermalMetrics
ThermalMetrics stores the thermal state as Temperature
Interfaces
IAdaptivePerformance
The main interface to access Adaptive Performance. None of the properties in this interface change after startup. This means the references returned by the properties may be cached by the user.
IDevelopmentSettings
Use the developer settings interface to access and change settings which are available only in development mode.
IDevicePerformanceControl
The device performance control interface handles all control elements related to the device performance. You can
change the Automatic
IPerformanceModeStatus
Use the performance mode status interface to receive performance mode status events of the device.
IPerformanceStatus
You can use the performance status interface to obtain performance metrics, frame timing, and subscribe to bottleneck and performance event changes.
IThermalStatus
Use the thermal status interface to receive thermal status events and thermal metrics of the device.
Enums
LifecycleChangeType
Types of Adaptive Performance lifecycle changes.
PerformanceBottleneck
The performance bottleneck enum describes what is currently limiting the system.
PerformanceControlMode
Enum used to describe the performance control mode used by Adaptive Performance. Can be read from Performance
PerformanceMode
The performance mode enum describes what is currently the active performance mode of the stystem.
ScalerTarget
Bottleneck flags that the scaler targets.
ScalerVisualImpact
Scaler impact on visuals.
StateAction
Describes what action is needed to stabilize.
WarningLevel
Warning levels are used in the Thermal
Delegates
LifecycleEventHandler
Adaptive Performance lifecycle events which are sent when the lifecycle of IAdaptive
PerformanceBoostChangeHandler
You can subscribe to the boost event delegate which sends the Performance
PerformanceBottleneckChangeHandler
You can subscribe to the bottleneck event delegate which sends the Performance
PerformanceLevelChangeHandler
You can subscribe to the performance level event delegate which sends the Performance
PerformanceModeEventHandler
You can subscribe to the performance mode event delegate which sends the Performance
ThermalEventHandler
You can subscribe to the thermal event delegate which sends the Thermal