Interface IAssetCacheEntry<T>
Definition
Namespace: StardewUI.Framework.Content
Assembly: StardewUI.dll
Entry retrieved from an IAssetCache.
Type Parameters
T
Type of cached asset.
Members
Properties
Name | Description |
---|---|
Asset | The cached asset. |
IsValid | Whether or not the Asset is valid and can be accessed. |
Details
Properties
Asset
The cached asset.
Property Value
T
IsValid
Whether or not the Asset is valid and can be accessed.
Property Value
Remarks
Invalid assets either failed to load or have been invalidated at the source and may be disposed (if IDisposable) or otherwise unusable. Consumers of the cache entry must not attempt to read or use the Asset property of an invalid asset.