Class AdaptivePerformanceSubsystemDescriptor
The Adaptive Performance Subsystem Descriptor is used for describing the subsystem so it can be picked up by the subsystem management system.
Inheritance
Inherited Members
Namespace: UnityEngine.AdaptivePerformance.Provider
Syntax
[Preserve]
public sealed class AdaptivePerformanceSubsystemDescriptor : SubsystemDescriptor<AdaptivePerformanceSubsystem>, ISubsystemDescriptor
Constructors
AdaptivePerformanceSubsystemDescriptor(AdaptivePerformanceSubsystemDescriptor.Cinfo)
Constructor to fill the subsystem descriptor with all information to register the subsystem successfully.
Declaration
public AdaptivePerformanceSubsystemDescriptor(AdaptivePerformanceSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
AdaptivePerformanceSubsystemDescriptor.Cinfo | cinfo | Pass in the information about the subsystem. |
Methods
RegisterDescriptor(AdaptivePerformanceSubsystemDescriptor.Cinfo)
Register the subsystem with the subsystem registry and make it available to use during runtime.
Declaration
public static AdaptivePerformanceSubsystemDescriptor RegisterDescriptor(AdaptivePerformanceSubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
AdaptivePerformanceSubsystemDescriptor.Cinfo | cinfo | Pass in the information about the subsystem. |
Returns
Type | Description |
---|---|
AdaptivePerformanceSubsystemDescriptor | Returns an active subsystem descriptor. |