DrawableCache

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Classes

DrawableCacheItem
class DrawableCacheItem
Undocumented in source.

Functions

checkpoint
void checkpoint()
Undocumented in source. Be warned that the author may not have intended to support it.
cleanup
void cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
findResource
string findResource(string id)

get resource file full pathname by resource id, null if not found

get
DrawableRef get(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
get
DrawableRef get(string id, ColorTransform transform)
Undocumented in source. Be warned that the author may not have intended to support it.
getImage
DrawBufRef getImage(string id)

get image (DrawBuf) from imageCache by resource id

setResourcePaths
void setResourcePaths(string[] paths)

set resource directory paths as variable number of parameters

Properties

resourcePaths
string[] resourcePaths [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
resourcePaths
string[] resourcePaths [@property setter]

set resource directory paths array (only existing dirs will be added)

Variables

_idToDrawableMap
DrawableCacheItem[string] _idToDrawableMap;
Undocumented in source.
_idToFileMap
string[string] _idToFileMap;
Undocumented in source.
_nullDrawable
DrawableRef _nullDrawable;
Undocumented in source.
_resourcePaths
string[] _resourcePaths;
Undocumented in source.

Meta