Synced
FontImporter.ImportAsync
Section titled “FontImporter.ImportAsync”
- Validates the source container and emits runtime metadata plus encoded font data.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Text.Assets
Declaration
Section titled “Declaration”protected override System.Threading.Tasks.ValueTask Inno.Text.Assets.FontImporter.ImportAsync(Inno.Assets.Pipeline.AssetImportContext context, Inno.Assets.Pipeline.AssetImportWriter<Inno.Text.FontAsset> output, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter context: The source import context.
Parameter output: The candidate artifact writer.
Parameter cancellationToken: Cancellation observed by artifact writes.
Returns
Section titled “Returns”An operation that completes after both artifacts are staged.