Class TestAdaptivePerformanceSubsystem
Only for internal use. The subsystem is used for tests only and simulates adaptive performance events.
Inheritance
TestAdaptivePerformanceSubsystem
Inherited Members
Namespace: UnityEngine.AdaptivePerformance.Provider
Syntax
[Preserve]
public class TestAdaptivePerformanceSubsystem : AdaptivePerformanceSubsystem, IDevicePerformanceLevelControl
Constructors
TestAdaptivePerformanceSubsystem()
Only for internal use.
Declaration
public TestAdaptivePerformanceSubsystem()
Properties
AcceptsPerformanceLevel
Only for internal use.
Declaration
public bool AcceptsPerformanceLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
ApplicationLifecycle
Only for internal use.
Declaration
public override IApplicationLifecycle ApplicationLifecycle { get; }
Property Value
| Type | Description |
|---|---|
| IApplicationLifecycle |
Overrides
ChangeFlags
Only for internal use.
Declaration
public Feature ChangeFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| Feature |
CpuPerformanceLevel
Only for internal use.
Declaration
public int CpuPerformanceLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
GpuPerformanceLevel
Only for internal use.
Declaration
public int GpuPerformanceLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
InitCapabilities
Only for internal use.
Declaration
public Feature InitCapabilities { set; }
Property Value
| Type | Description |
|---|---|
| Feature |
LastRequestedCpuLevel
Only for internal use.
Declaration
public int LastRequestedCpuLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
LastRequestedGpuLevel
Only for internal use.
Declaration
public int LastRequestedGpuLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
MaxCpuPerformanceLevel
Only for internal use.
Declaration
public int MaxCpuPerformanceLevel { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Implements
MaxGpuPerformanceLevel
Only for internal use.
Declaration
public int MaxGpuPerformanceLevel { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Implements
NextCpuFrameTime
Only for internal use.
Declaration
public float NextCpuFrameTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
NextGpuFrameTime
Only for internal use.
Declaration
public float NextGpuFrameTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
NextOverallFrameTime
Only for internal use.
Declaration
public float NextOverallFrameTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
PerformanceLevelControl
Only for internal use.
Declaration
public override IDevicePerformanceLevelControl PerformanceLevelControl { get; }
Property Value
| Type | Description |
|---|---|
| IDevicePerformanceLevelControl |
Overrides
TemperatureLevel
Only for internal use.
Declaration
public float TemperatureLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
TemperatureTrend
Only for internal use.
Declaration
public float TemperatureTrend { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
Version
Only for internal use.
Declaration
public override Version Version { get; }
Property Value
| Type | Description |
|---|---|
| Version |
Overrides
WarningLevel
Only for internal use.
Declaration
public WarningLevel WarningLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| WarningLevel |
Methods
Destroy()
Only for internal use.
Declaration
public override void Destroy()
Overrides
Initialize()
Only for internal use.
Declaration
public static TestAdaptivePerformanceSubsystem Initialize()
Returns
| Type | Description |
|---|---|
| TestAdaptivePerformanceSubsystem |
SetPerformanceLevel(Int32, Int32)
Only for internal use.
Declaration
public bool SetPerformanceLevel(int cpuLevel, int gpuLevel)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | cpuLevel | |
| Int32 | gpuLevel |
Returns
| Type | Description |
|---|---|
| Boolean |
Implements
Start()
Only for internal use.
Declaration
public override void Start()
Overrides
Stop()
Only for internal use.
Declaration
public override void Stop()
Overrides
Update()
Only for internal use.
Declaration
public override PerformanceDataRecord Update()
Returns
| Type | Description |
|---|---|
| PerformanceDataRecord |