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 6 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.
SetPerformanceLevelRequest a performance level change. If Constants.UnknownPerformanceLevel is passed, the subsystem picks the level to be used.