Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Keeps one canonical asset generation resident for an explicit lifetime.

API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.Assets
Scope: Runtime

public sealed class InnoEngine.Assets.AssetLease<TAsset> where TAsset : InnoEngine.Assets.AssetObject : System.IDisposable

Type parameter TAsset: Concrete retained asset type.

Kind Element Description
Constructors AssetLease<TAsset>.Constructor Appears in the generated script reference without a matching public or protected engine constructor.
Methods AssetLease<TAsset>.Dispose Releases this caller’s residency ownership, retaining its value and callback while the provider reports Pending.
Properties AssetLease<TAsset>.asset Gets the retained canonical asset while this lease is active.