Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Asynchronously loads a canonical asset by persistent identity.

API: engine
Project: Inno.Assets.Pipeline

public System.Threading.Tasks.ValueTask<TAsset> Inno.Assets.Pipeline.AssetPipeline.LoadAsync<TAsset>(System.Guid persistentId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) where TAsset : Inno.Assets.AssetObject

Type parameter TAsset: The required asset type.

Parameter persistentId: The persistent asset identity.

Parameter cancellationToken: Cancellation for the current caller’s wait.

The canonical asset instance.