Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Exports an asset back into source bytes.

API: engine
Project: Inno.Assets.Pipeline

protected virtual System.Threading.Tasks.ValueTask<System.ReadOnlyMemory<byte>?> Inno.Assets.Pipeline.AssetImporter<TAsset>.ExportAsync(Inno.Assets.Pipeline.AssetExportContext context, TAsset asset, System.Threading.CancellationToken cancellationToken)

Parameter context: The generation-bound source export services.

Parameter asset: The asset to export.

Parameter cancellationToken: Cancellation for the export.

The source bytes, or null when export is unsupported.