Class ShaderVariantListImporter
Inherited Members
AssetImporter.AddRemap(AssetImporter.SourceAssetIdentifier, Object)
AssetImporter.RemoveRemap(AssetImporter.SourceAssetIdentifier)
AssetImporter.assetTimeStamp
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.TestTools.Graphics
Assembly: GraphicTestVariantStripper.dll
Syntax
[ScriptedImporter(1, "shadervariantlist")]
public class ShaderVariantListImporter : ScriptedImporter
Methods
CreateEmptyShaderVariantList()
Declaration
[MenuItem("Assets/Create/Graphics Test Framework/Shader Variant List", false, 1)]
public static void CreateEmptyShaderVariantList()
OnImportAsset(AssetImportContext)
This method must by overriden by the derived class and is called by the Asset pipeline to import files.
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx | This argument contains all the contextual information needed to process the import event and is also used by the custom importer to store the resulting Unity Asset. |