Interface IAdaptivePerformanceLoaderMetadata
Provides an interface for describing specific loader metadata. Package authors should implement this interface for each loader they provide in their package.
Namespace: UnityEditor.AdaptivePerformance.Editor.Metadata
Syntax
public interface IAdaptivePerformanceLoaderMetadata
Properties
loaderName
The user-facing name for this loader. Will be used to populate the list in the Adaptive Performance Provider Management UI.
Declaration
string loaderName { get; }
Property Value
Type | Description |
---|---|
String |
loaderType
The full type name for this loader. This is used to allow management to find and create instances of supported loaders for your package.
When your package is first installed, the Adaptive Performance Provider Management system will use this information to create instances of your loaders in Assets/Adaptive Performance/Loaders.
Declaration
string loaderType { get; }
Property Value
Type | Description |
---|---|
String |
supportedBuildTargets
The full list of supported build targets for this loader. This allows the UI to only show the loaders appropriate for a specific build target.
Returning an empty list or a list containing just BuildTargetGroup.Unknown will make this loader invisible in the UI.
Declaration
List<BuildTargetGroup> supportedBuildTargets { get; }
Property Value
Type | Description |
---|---|
List<BuildTargetGroup> |