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
Implements
Inherited Members
Namespace: UnityEngine .AdaptivePerformance .Provider
Assembly: Unity.AdaptivePerformance.dll
Syntax
[Preserve]
public sealed class AdaptivePerformanceSubsystemDescriptor : SubsystemDescriptorWithProvider<AdaptivePerformanceSubsystem, AdaptivePerformanceSubsystem.APProvider>, ISubsystemDescriptor
Constructors
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 |
---|---|---|
Adaptive |
cinfo | Pass in the information about the subsystem. |
Methods
RegisterDescriptor(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 |
---|---|---|
Adaptive |
cinfo | Pass in the information about the subsystem. |
Returns
Type | Description |
---|---|
Adaptive |
Returns an active subsystem descriptor. |