Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

IDevicePerformanceLevelControl

interface in UnityEngine.AdaptivePerformance.Provider

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The device performance level control lets you change CPU and GPU levels and informs you about the current levels.

Properties

Property Description
MaxCpuPerformanceLevel Maximum 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].
MaxGpuPerformanceLevel Maximum 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].

Public Methods

Method Description
EnableCpuBoost Request a CPU performance boost.
EnableGpuBoost Request a GPU performance boost.
SetPerformanceLevel Request a performance level change. If Constants.UnknownPerformanceLevel is passed, the subsystem picks the level to be used.