DrawableCache.DrawableCacheItem

Undocumented in source.

Constructors

this
this(string id, string filename, bool tiled)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

checkpoint
void checkpoint()

mark as not used

cleanup
void cleanup()

cleanup if unused since last checkpoint

compact
void compact()

remove from memory, will cause reload on next access

Properties

drawable
DrawableRef drawable [@property getter]

returns drawable (loads from file if necessary)

drawable
ColorTransform drawable [@property setter]

returns drawable (loads from file if necessary)

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

Variables

_drawable
DrawableRef _drawable;
Undocumented in source.
_error
bool _error;
Undocumented in source.
_filename
string _filename;
Undocumented in source.
_id
string _id;
Undocumented in source.
_tiled
bool _tiled;
Undocumented in source.
_transformed
DrawableRef[ColorTransform] _transformed;
Undocumented in source.
_used
bool _used;
Undocumented in source.

Meta