Class
ShumateMemoryCache
Description [src]
class Shumate.MemoryCache : GObject.Object {
parent_instance: GObject
}
A cache that stores and retrieves tiles from the memory. The cache contents is not preserved between application restarts so this cache serves mostly as a quick access temporary cache to the most recently used tiles.
Constructors
shumate_memory_cache_new_full
Constructor of ShumateMemoryCache
.
Instance methods
shumate_memory_cache_clean
Cleans the contents of the cache.
shumate_memory_cache_get_size_limit
Gets the maximum number of tiles stored in the cache.
shumate_memory_cache_set_size_limit
Sets the maximum number of tiles stored in the cache.
shumate_memory_cache_store_texture
No description available.
shumate_memory_cache_try_fill_tile
No description available.
Properties
Shumate.MemoryCache:size-limit
The maximum number of tiles that are stored in the cache.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.