AssetManager

Undocumented in source.

Constructors

this
this(EventManager emngr, Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addAsset
Asset addAsset(Asset asset, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
assetExists
bool assetExists(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
fileExists
bool fileExists(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
getAsset
Asset getAsset(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
isLoading
bool isLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
loadAssetThreadSafePart
bool loadAssetThreadSafePart(Asset asset, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
loadThreadSafePart
void loadThreadSafePart()
Undocumented in source. Be warned that the author may not have intended to support it.
loadThreadUnsafePart
bool loadThreadUnsafePart()
Undocumented in source. Be warned that the author may not have intended to support it.
monitorCheck
void monitorCheck(string filename, Asset asset)
Undocumented in source. Be warned that the author may not have intended to support it.
mountBoxFile
void mountBoxFile(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
mountBoxFileDirectory
void mountBoxFileDirectory(string filename, string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
mountDirectory
void mountDirectory(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
preloadAsset
Asset preloadAsset(Asset asset, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
releaseAssets
void releaseAssets()
Undocumented in source. Be warned that the author may not have intended to support it.
reloadAsset
void reloadAsset(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAsset
void removeAsset(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
threadFunc
void threadFunc()
Undocumented in source. Be warned that the author may not have intended to support it.
updateMonitor
void updateMonitor(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

assetsByFilename
Dict!(Asset, string) assetsByFilename;
Undocumented in source.
eventManager
EventManager eventManager;
Undocumented in source.
fs
VirtualFileSystem fs;
Undocumented in source.
hdrImageFactory
UnmanagedHDRImageFactory hdrImageFactory;
Undocumented in source.
imageFactory
UnmanagedImageFactory imageFactory;
Undocumented in source.
liveUpdate
bool liveUpdate;
Undocumented in source.
liveUpdatePeriod
double liveUpdatePeriod;
Undocumented in source.
loadingThread
Thread loadingThread;
Undocumented in source.
monitorTimer
double monitorTimer;
Undocumented in source.
nextLoadingPercentage
float nextLoadingPercentage;
Undocumented in source.

Meta