Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetCompilerContext Class

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

    The context used when compiling an asset in a Package.

    System.Object → CompilerContext → AssetCompilerContext
    Derived from AssetCompilerContext:

    public class AssetCompilerContext : CompilerContext, IDisposable
    Name Description
    Fields
    CompilationContext

    The compilation context type of this compiler context

    Properties
    BuildConfiguration

    Gets or sets the build configuration (Debug, Release, AppStore, Testing)

    Package

    Gets or sets the entry package this build was called upon.

    Platform

    Gets or sets the target platform for compiler is being used for.

    Profile

    Gets or sets the name of the profile being built.

    | Improve this Doc View Source

    Fields


    CompilationContext

    The compilation context type of this compiler context

    public Type CompilationContext
    Field Value
    Type Description
    System.Type
    | Improve this Doc View Source

    Properties


    BuildConfiguration

    Gets or sets the build configuration (Debug, Release, AppStore, Testing)

    public string BuildConfiguration { get; set; }
    Property Value
    Type Description
    System.String

    Package

    Gets or sets the entry package this build was called upon.

    public Package Package { get; set; }
    Property Value
    Type Description
    Package

    Platform

    Gets or sets the target platform for compiler is being used for.

    public PlatformType Platform { get; set; }
    Property Value
    Type Description
    PlatformType

    The platform.


    Profile

    Gets or sets the name of the profile being built.

    public string Profile { get; set; }
    Property Value
    Type Description
    System.String

    Inherited Members

    CompilerContext.OptionProperties
    CompilerContext.Properties
    CompilerContext.Clone()
    CompilerContext.Dispose()

    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