Synced
AssetLoader.ExportRuntimeArtifacts
Section titled “AssetLoader.ExportRuntimeArtifacts”
- Exports the validated runtime artifact closure while observing cooperative cancellation between files.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.AssetRuntimeContentInfo Inno.Assets.Pipeline.AssetLoader.ExportRuntimeArtifacts(string destinationLibraryRoot, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter destinationLibraryRoot: The empty directory that receives the runtime-only asset database.
Parameter cancellationToken: The token checked before every artifact file is copied.
Returns
Section titled “Returns”Counts and source identities represented by the exported snapshot.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when artifacts are incomplete or transitive source inputs no longer certify the imported snapshot.
Exception T:System.OperationCanceledException: Thrown when cancellation is requested before the snapshot finishes.