Synced
AssetPipeline.Load
Section titled “AssetPipeline.Load”
- Loads a canonical asset by persistent identity.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public TAsset Inno.Assets.Pipeline.AssetPipeline.Load<TAsset>(System.Guid persistentId) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: The required asset type.
Parameters
Section titled “Parameters”Parameter persistentId: The persistent asset identity.
Returns
Section titled “Returns”The canonical asset instance.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when no compatible asset can be loaded.