Table of Contents

Class AssetCompilerAttribute

Namespace
Stride.Core.Assets.Compiler
Assembly
Stride.Core.Assets.dll

Attribute to define an asset compiler for a Asset.

[AttributeUsage(AttributeTargets.Class)]
[BaseTypeRequired(typeof(IAssetCompiler))]
public class AssetCompilerAttribute : DynamicTypeAttributeBase
Inheritance
AssetCompilerAttribute
Inherited Members

Constructors

AssetCompilerAttribute(string, Type)

public AssetCompilerAttribute(string typeName, Type compilationContextType)

Parameters

typeName string
compilationContextType Type

AssetCompilerAttribute(Type, Type)

public AssetCompilerAttribute(Type type, Type compilationContextType)

Parameters

type Type
compilationContextType Type

Properties

CompilationContext

public Type CompilationContext { get; }

Property Value

Type