Synced
AssetImporter<TAsset>.ExportAsync
Section titled “AssetImporter<TAsset>.ExportAsync”
- Exports an asset back into source bytes.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”Parameter context: The generation-bound source export services.
Parameter asset: The asset to export.
Parameter cancellationToken: Cancellation for the export.
Returns
Section titled “Returns”The source bytes, or null when export is unsupported.