Synced
AssetLoader.AcquireArtifact
Section titled “AssetLoader.AcquireArtifact”
- Acquires an immutable output while excluding concurrent artifact collection.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.ArtifactLease Inno.Assets.Pipeline.AssetLoader.AcquireArtifact(System.Guid persistentId, string outputName)Parameters
Section titled “Parameters”Parameter persistentId: The source asset’s persistent identity.
Parameter outputName: The required output protocol.
Returns
Section titled “Returns”A lease retaining this exact artifact key, even after reimport or source deletion.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: No current output can be resolved.