Class AssetCompilerRegistry
A registry containing the asset compilers of the assets.
public sealed class AssetCompilerRegistry
  - Inheritance
 - 
      objectAssetCompilerRegistry
 
Constructors
AssetCompilerRegistry()
Create an instance of that registry
public AssetCompilerRegistry()
  Properties
DefaultCompiler
Gets or sets the default compiler to use when no compiler are explicitly registered for a type.
public IAssetCompiler? DefaultCompiler { get; set; }
  Property Value
Methods
GetCompiler(Type, Type)
Gets the compiler associated to an Asset type.
public IAssetCompiler? GetCompiler(Type type, Type context)
  Parameters
Returns
- IAssetCompiler
 The compiler associated the provided asset type or null if no compiler exists for that type.
RegisterCompiler(Type, IAssetCompiler, Type)
Register a compiler for a given Asset type.
public void RegisterCompiler(Type type, IAssetCompiler compiler, Type context)
  Parameters
typeTypeThe type of asset the compiler can compile
compilerIAssetCompilerThe compiler to use
contextType