Synced
AssetLease<TAsset>
Section titled “AssetLease<TAsset>”
- Keeps one canonical asset generation resident for an explicit lifetime.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public sealed class InnoEngine.Assets.AssetLease<TAsset> where TAsset : InnoEngine.Assets.AssetObject : System.IDisposableType parameters
Section titled “Type parameters”Type parameter TAsset: Concrete retained asset type.
Members
Section titled “Members”| 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. |