AssetCompilerContext Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
The context used when compiling an asset in a Package.
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. |
|
Fields
CompilationContext
The compilation context type of this compiler context
public Type CompilationContext
Field Value
| Type | Description |
|---|---|
| System.Type |
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 |