Synced
AssetPipeline.AcquireArtifact
Section titled “AssetPipeline.AcquireArtifact”
- Acquires one verified authoring artifact generation for an explicit lifetime.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.ArtifactLease Inno.Assets.Pipeline.AssetPipeline.AcquireArtifact(System.Guid persistentId, string outputName)Parameters
Section titled “Parameters”Parameter persistentId: Persistent identity of the artifact owner.
Parameter outputName: Stable artifact output name.
Returns
Section titled “Returns”A lease over the currently committed immutable artifact generation.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the requested artifact is unavailable.