Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IDevicePerformanceLevelControl

The device performance level control lets you change CPU and GPU levels and informs you about the current levels.
Read time 1 minuteLast updated 10 days ago

Definition

public interface IDevicePerformanceLevelControl

Properties

Property

Description

MaxCpuPerformanceLevelMaximum supported CPU performance level. This should not change after startup. Constants.UnknownPerformanceLevel in case performance levels are not supported. Value in the range of [Constants.MinCpuPerformanceLevel, 10].
MaxGpuPerformanceLevelMaximum supported GPU performance level. This should not change after startup. Constants.UnknownPerformanceLevel in case performance levels are not supported. Value in the range of [Constants.MinGpuPerformanceLevel, 10].

Methods

Method

Description

EnableCpuBoostRequest a CPU performance boost.
EnableGpuBoostRequest a GPU performance boost.
SetEnergyEfficiencyModeHint 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.
SetPerformanceLevelRequest a performance level change. If Constants.UnknownPerformanceLevel is passed, the subsystem picks the level to be used.