Struct PerformanceLevelChangeEventArgs
Performance level change event arguments used in the PerformanceLevelChangeHandler.
Namespace: UnityEngine.AdaptivePerformance
Syntax
public struct PerformanceLevelChangeEventArgs
Properties
CpuLevel
The new CPU level.
Declaration
public int CpuLevel { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
CpuLevelDelta
The difference in CPU levels 0 in case the previous or new level equals UnknownPerformanceLevel.
Declaration
public int CpuLevelDelta { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
GpuLevel
The new GPU level.
Declaration
public int GpuLevel { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
GpuLevelDelta
The difference in GPU levels. 0 in case either the previous or the new level equals UnknownPerformanceLevel.
Declaration
public int GpuLevelDelta { readonly get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ManualOverride
Declaration
public bool ManualOverride { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PerformanceControlMode
The current PerformanceControlMode. See PerformanceControlMode.
Declaration
public PerformanceControlMode PerformanceControlMode { readonly get; set; }
Property Value
Type | Description |
---|---|
PerformanceControlMode |