SetEnergyEfficiencyMode(bool)
Hint the subsystem to bias device-level configurations toward energy efficiency over peak performance (e.g. Android's power-efficiency hint on the ADPF hint session). If Feature.EnergyEfficiencyMode is not supported (see AdaptivePerformanceSubsystem.Capabilities ), this function is ignored and returns false.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.AdaptivePerformance.Provider
- Assembly: UnityEngine.AdaptivePerformanceModule
bool SetEnergyEfficiencyMode(bool enable)
Parameters
True to enable the energy-efficiency hint; false to release it.
Returns
Type | Description |
|---|---|
| bool | True on success; false when the capability is unsupported or the platform rejected the hint. |