Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Asynchronously loads a canonical asset by isolated source path.

API: engine
Project: Inno.Assets.Pipeline

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

Type parameter TAsset: The required asset type.

Parameter path: The isolated source path.

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

The canonical asset instance.