API reference
Interface IAssetStore
Namespace: MicroEngine.Content
Assembly: MicroEngine.Content.dll
Guide: Assets
A game’s assets: where content comes from, the loaders that read it, and the scopes that hold what was loaded.
public interface IAssetStoreProperties
Loaders
The loaders, one per kind of asset.
AssetLoaderRegistry Loaders { get; }Property Value
Root
The scope that lives as long as the store; create child scopes from it for levels and scenes.
AssetScope Root { get; }Property Value
Source
Where content files are read from.
IContentSource Source { get; }Property Value
Methods
Get<T>(Asset<T>)
The asset of asset.
T Get<T>(Asset<T> asset) where T : classParameters
asset Asset<T>
Returns
T
Type Parameters
T
Exceptions
The handle is None, stale (every scope released it) or of another store.