Struct Entry
Internal cache entry structure containing loaded asset, loading state, and size information.
Inherited Members
Namespace: Serenity.AssetPrefetcher.Domain.ValueObjects
Assembly: Serenity.AssetPrefetcher.Domain.dll
Syntax
public struct Entry
Fields
Loading
Declaration
public bool Loading
Field Value
| Type | Description |
|---|---|
| bool | Indicates whether the asset is currently being loaded. |
Obj
Declaration
public object Obj
Field Value
| Type | Description |
|---|---|
| object | The loaded asset object. Typed as object instead of the engine's native asset type because Domain must not reference UnityEngine — the same pattern used for the template properties on Serenity.Ui.Domain.Interfaces.IUiThemeComponents. |
Size
Declaration
public int Size
Field Value
| Type | Description |
|---|---|
| int | Estimated memory size of the asset in bytes. |