Synced
AssetImporter<TAsset>.ImportAsync
Section titled “AssetImporter<TAsset>.ImportAsync”
- Imports one source into a managed asset and named artifact outputs.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”protected abstract System.Threading.Tasks.ValueTask Inno.Assets.Pipeline.AssetImporter<TAsset>.ImportAsync(Inno.Assets.Pipeline.AssetImportContext context, Inno.Assets.Pipeline.AssetImportWriter<TAsset> output, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter context: The import transaction context.
Parameter output: The candidate output writer.
Parameter cancellationToken: Cancellation for the import.
Returns
Section titled “Returns”An operation that completes when the candidate has been fully staged.