Class · aurore
aurore::TextureCache
On this page
#include <aurore/core/cache_helper.hpp>
class aurore::TextureCache : public aurore::Singleton< TextureCache >Constructors 1
Functions 11
Add cache
cache_helper.hpp:352Subtract the matching texture cache counter by 1, and delete the cache if the counter returns to zero.
cache_helper.hpp:363update texture id
cache_helper.hpp:380At most bytes of textures nothing shows are kept (0: no limit, the default); the least recently used go first. A texture weighs its width × height × 4.
Free GPU memory for all textures whose reference count has reached zero. Safe to call at any time; in-use textures (count > 0) are left untouched.
cache_helper.hpp:417Also the functions of aurore::Singleton (1).
Attributes 1
Read from Aurore's headers by Doxygen at each build · library/include