AssetDependenciesCompiler Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
An asset compiler that will compile an asset with all its dependencies.
System.Object →
AssetDependenciesCompiler
Derived from AssetDependenciesCompiler:
public class AssetDependenciesCompiler
Name | Description | |
---|---|---|
Constructors | ||
AssetDependenciesCompiler(Type) | ||
Fields | ||
AssetCompiled | Raised when a single asset has been compiled. |
|
BuildDependencyManager | ||
Methods | ||
Prepare(AssetCompilerContext, AssetItem) | Prepare a single asset to be built |
|
PrepareMany(AssetCompilerContext, List<AssetItem>) | Prepare the list of assets to be built, building all the steps and linking them properly |
Constructors
AssetDependenciesCompiler(Type)
public AssetDependenciesCompiler(Type compilationContext)
Parameters
Type | Name | Description |
---|---|---|
System.Type | compilationContext |
Fields
AssetCompiled
Raised when a single asset has been compiled.
public EventHandler<AssetCompiledArgs> AssetCompiled
Field Value
Type | Description |
---|---|
System.EventHandler<AssetCompiledArgs> |
BuildDependencyManager
public readonly BuildDependencyManager BuildDependencyManager
Field Value
Type | Description |
---|---|
BuildDependencyManager |
Methods
Prepare(AssetCompilerContext, AssetItem)
Prepare a single asset to be built
public AssetCompilerResult Prepare(AssetCompilerContext context, AssetItem assetItem)
Parameters
Type | Name | Description |
---|---|---|
AssetCompilerContext | context | The AssetCompilerContext |
AssetItem | assetItem | The asset to build |
Returns
Type | Description |
---|---|
AssetCompilerResult |
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
Type | Name | Description |
---|---|---|
AssetCompilerContext | context | The AssetCompilerContext |
System.Collections.Generic.List<AssetItem> | assetItems | The assets to prepare for build |
Returns
Type | Description |
---|---|
AssetCompilerResult |