Table of Contents

Class PackageCompiler

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

A package assets compiler. Creates the build steps necessary to produce the assets of a package.

public class PackageCompiler : IPackageCompiler
Inheritance
PackageCompiler
Implements

Constructors

PackageCompiler(IPackageCompilerSource)

public PackageCompiler(IPackageCompilerSource packageCompilerSource)

Parameters

packageCompilerSource IPackageCompilerSource

Fields

AssetCompiled

Raised when a single asset has been compiled.

public EventHandler<AssetCompiledArgs> AssetCompiled

Field Value

EventHandler<AssetCompiledArgs>

Properties

SdkDirectory

Gets or sets the SDK directory. Default is bound to env variable StrideSdkDir

public static string SdkDirectory { get; set; }

Property Value

string

The SDK directory.

Methods

Prepare(AssetCompilerContext)

Compile the current package session. That is generate the list of build steps to execute to create the package assets.

public AssetCompilerResult Prepare(AssetCompilerContext compilerContext)

Parameters

compilerContext AssetCompilerContext

Returns

AssetCompilerResult