Synced
AssetExecutionContext.EnterScope
Section titled “AssetExecutionContext.EnterScope”
- Binds an asset lookup until the returned strict last-in-first-out scope is disposed.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public static System.IDisposable Inno.Assets.AssetExecutionContext.EnterScope(Inno.Assets.IAssetLookup assets)Parameters
Section titled “Parameters”Parameter assets: The host-owned lookup to expose to script-facing asset operations.
Returns
Section titled “Returns”A strict last-in-first-out execution scope owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when assets is null.