Class AssetDependenciesCompiler
An asset compiler that will compile an asset with all its dependencies.
public class AssetDependenciesCompiler
- Inheritance
-
AssetDependenciesCompiler
Constructors
AssetDependenciesCompiler(Type)
public AssetDependenciesCompiler(Type compilationContext)
Parameters
compilationContext
Type
Fields
AssetCompiled
Raised when a single asset has been compiled.
public EventHandler<AssetCompiledArgs> AssetCompiled
Field Value
BuildDependencyManager
public readonly BuildDependencyManager BuildDependencyManager
Field Value
Methods
Prepare(AssetCompilerContext, AssetItem)
Prepare a single asset to be built
public AssetCompilerResult Prepare(AssetCompilerContext context, AssetItem assetItem)
Parameters
context
AssetCompilerContextThe AssetCompilerContext
assetItem
AssetItemThe asset to build
Returns
PrepareMany(AssetCompilerContext, List<AssetItem>)
Prepare the list of assets to be built, building all the steps and linking them properly
public AssetCompilerResult PrepareMany(AssetCompilerContext context, List<AssetItem> assetItems)
Parameters
context
AssetCompilerContextThe AssetCompilerContext
assetItems
List<AssetItem>The assets to prepare for build