文档

Unity Engine

Unity Engine

SetPerformanceLevel(ref int, ref int)

Request a performance level change. If Constants.UnknownPerformanceLevel is passed, the subsystem picks the level to be used.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetPerformanceLevel(int, int)

bool SetPerformanceLevel(ref int cpu, ref int gpu)

Parameters

Returns

Type

Description

boolReturns true on success. When this fails, it means that the system took control of the active performance levels.