Synced
AssetLoader.ResolveReference
Section titled “AssetLoader.ResolveReference”
- Resolves a serialized reference or creates a persistent missing placeholder.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.AssetObject Inno.Assets.Pipeline.AssetLoader.ResolveReference(System.Guid persistentId, System.Guid stableTypeId, string lastKnownPath, System.Type expectedType)Parameters
Section titled “Parameters”Parameter persistentId: The referenced persistent identity.
Parameter stableTypeId: The referenced stable asset type identity.
Parameter lastKnownPath: The last known source-relative path.
Parameter expectedType: The declared destination type.
Returns
Section titled “Returns”A compatible canonical asset or missing placeholder.