docs.unity3d.com
    Show / Hide Table of Contents

    Class TestAdaptivePerformanceSubsystem

    Only for internal use. The subsystem is used for tests only and simulates adaptive performance events.

    Inheritance
    Object
    AdaptivePerformanceSubsystemBase
    AdaptivePerformanceSubsystem
    TestAdaptivePerformanceSubsystem
    Inherited Members
    AdaptivePerformanceSubsystem.Capabilities
    AdaptivePerformanceSubsystem.Stats
    AdaptivePerformanceSubsystemBase.initialized
    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
    AdaptivePerformanceSubsystem.ApplicationLifecycle

    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
    IDevicePerformanceLevelControl.MaxCpuPerformanceLevel

    MaxGpuPerformanceLevel

    Only for internal use.

    Declaration
    public int MaxGpuPerformanceLevel { get; }
    Property Value
    Type Description
    Int32
    Implements
    IDevicePerformanceLevelControl.MaxGpuPerformanceLevel

    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
    AdaptivePerformanceSubsystem.PerformanceLevelControl

    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
    AdaptivePerformanceSubsystem.Version

    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
    AdaptivePerformanceSubsystemBase.Destroy()

    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
    IDevicePerformanceLevelControl.SetPerformanceLevel(Int32, Int32)

    Start()

    Only for internal use.

    Declaration
    public override void Start()
    Overrides
    AdaptivePerformanceSubsystemBase.Start()

    Stop()

    Only for internal use.

    Declaration
    public override void Stop()
    Overrides
    AdaptivePerformanceSubsystemBase.Stop()

    Update()

    Only for internal use.

    Declaration
    public override PerformanceDataRecord Update()
    Returns
    Type Description
    PerformanceDataRecord
    Overrides
    AdaptivePerformanceSubsystem.Update()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 24 February 2021