molecular
|
Loads assets when they are needed, and unloads them when they are not needed anymore. More...
#include <AssetManager.h>
Classes | |
class | Asset |
class | Loader |
Interface to an asset loader. More... | |
Public Member Functions | |
AssetManager (Loader &loader) | |
virtual | ~AssetManager () |
void | Update (int framecounter) |
Asset * | GetAsset (const Location &location) |
Get Asset object for given location. More... | |
Loads assets when they are needed, and unloads them when they are not needed anymore.
|
inline |
|
virtual |
AssetManager< T, lodLevels, mipmapStyle, Location >::Asset * molecular::gfx::AssetManager< T, lodLevels, mipmapStyle, Location >::GetAsset | ( | const Location & | location | ) |
Get Asset object for given location.
Loading is not initiated. Use Asset::Use for that.
void molecular::gfx::AssetManager< T, lodLevels, mipmapStyle, Location >::Update | ( | int | framecounter | ) |