Class DrawableCache.DrawableCacheItem
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
_drawable
|
Ref!(dlangui.graphics.resources.Drawable) |
|
_error
|
bool |
|
_filename
|
string |
|
_id
|
string |
|
_tiled
|
bool |
|
_transformed
|
Ref!(dlangui.graphics.resources.Drawable)[ColorTransform] |
|
_used
|
bool |
Properties
Name | Type | Description |
---|---|---|
drawable
[get, set]
|
Ref!(dlangui.graphics.resources.Drawable) |
returns drawable (loads from file if necessary)
|
Methods
Name | Description |
---|---|
checkpoint
|
mark as not used |
cleanup
|
cleanup if unused since last checkpoint
|
compact
|
remove from memory, will cause reload on next access |
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0