Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AssetDependenciesCompiler Class

    Namespace: Stride.Core.Assets.Compiler
    Assembly: 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

    | Improve this Doc View Source

    Constructors


    AssetDependenciesCompiler(Type)

    public AssetDependenciesCompiler(Type compilationContext)
    Parameters
    Type Name Description
    System.Type compilationContext
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation