Synced
AssetLoader.TryGetArtifact
Section titled “AssetLoader.TryGetArtifact”
- Tries to resolve a named output from the current artifact bundle.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public bool Inno.Assets.Pipeline.AssetLoader.TryGetArtifact(System.Guid persistentId, string outputName, out Inno.Assets.AssetArtifactInfo? artifact)Parameters
Section titled “Parameters”Parameter persistentId: The stable persistent identity used for lookup.
Parameter outputName: The stable artifact output name used for lookup.
Parameter artifact: The resolved immutable artifact payload returned to the caller.
Returns
Section titled “Returns”true when the operation succeeds or its condition is satisfied; otherwise, false.