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.
Read time 2 minutesLast updated 6 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
public interface IAdaptivePerformance
Properties
Property | Description |
|---|---|
| Active | Returns true if Adaptive Performance was initialized and is actively running, false otherwise. This means that Adaptive Performance is enabled in StartupSettings. |
| DevelopmentSettings | Access to development (logging) settings. |
| DevicePerformanceControl | Control CPU and GPU performance of the device. |
| Indexer | Access to the Indexer system. See AdaptivePerformanceIndexer |
| Initialized | Returns true if Adaptive Performance was initialized successfully, false otherwise. This means that Adaptive Performance is enabled in StartupSettings and the application runs on a device that supports Adaptive Performance. |
| OperationModeStatus | Access to the active operation mode. |
| PerformanceModeStatus | Access performance mode status information of the device. |
| PerformanceStatus | Access performance status information of the device and your application. |
| Settings | Access to the Settings. See IAdaptivePerformanceSettings. |
| Subsystem | Access to the active Subsystem. See AdaptivePerformanceSubsystem. |
| ThermalStatus | Access thermal status information of the device. |
Methods
Method | Description |
|---|---|
| DeinitializeAdaptivePerformance | Stops Adaptive Performance (if still running) and initiates the tear down process. When this completes successfully, IAdaptivePerformance.Initialized will be |
| InitializeAdaptivePerformance | Initiates the initialization process for Adaptive Performance by attempting to initialize the loaders. When this completes successfully, IAdaptivePerformance.Initialized will be |
| StartAdaptivePerformance | Attempts to start Adaptive Performance by requesting the active loader and all subsystems to start. When this completes successfully, IAdaptivePerformance.Active will be |
| StopAdaptivePerformance | Attempts to stop Adaptive Performance by requesting the active loader and all subsystems to stop. When this completes successfully, IAdaptivePerformance.Active will be |
| SupportedFeature | List of supported Features by the loaded provider. See Feature. |