Synced
AssetImportWriter<TAsset>
Section titled “AssetImportWriter<TAsset>”
- Collects the complete candidate output of one source import.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public sealed class Inno.Assets.Pipeline.AssetImportWriter<TAsset> where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: The imported asset type.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | AssetImportWriter<TAsset>.DependsOnArtifact | Declares an asset artifact input that invalidates this import. |
| Methods | AssetImportWriter<TAsset>.DependsOnAsset(Inno.Assets.AssetDependency) | Declares a runtime dependency by persistent descriptor. |
| Methods | AssetImportWriter<TAsset>.DependsOnAsset(Inno.Assets.AssetPath) | Declares a runtime dependency by isolated source path. |
| Methods | AssetImportWriter<TAsset>.DependsOnCustomInput | Declares a custom deterministic import input. |
| Methods | AssetImportWriter<TAsset>.DependsOnSource | Declares a source input that invalidates this import. |
| Methods | AssetImportWriter<TAsset>.ReportDiagnostic | Adds a non-fatal import diagnostic. |
| Methods | AssetImportWriter<TAsset>.SetAsset | Assigns the managed asset produced by the importer. |
| Methods | AssetImportWriter<TAsset>.SetDeploymentScope | Selects the deployment scope for this imported asset. This permits one importer to produce runtime assets and editor-only assets from different source documents without changing their asset type. |
| Methods | AssetImportWriter<TAsset>.WriteArtifactAsync | Writes one immutable named artifact output. |
| Properties | AssetImportWriter<TAsset>.asset | Gets the candidate asset assigned by the importer. |