Table of Contents

Class AssetDependenciesCompiler

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

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

EventHandler<AssetCompiledArgs>

BuildDependencyManager

public readonly BuildDependencyManager BuildDependencyManager

Field Value

BuildDependencyManager

Methods

Prepare(AssetCompilerContext, AssetItem)

Prepare a single asset to be built

public AssetCompilerResult Prepare(AssetCompilerContext context, AssetItem assetItem)

Parameters

context AssetCompilerContext

The AssetCompilerContext

assetItem AssetItem

The asset to build

Returns

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

context AssetCompilerContext

The AssetCompilerContext

assetItems List<AssetItem>

The assets to prepare for build

Returns

AssetCompilerResult