virtual ~TextureCache()=default
Definition: texture_cache.h:31
virtual void invalidate()=0
Mark all entries in the cache as out-of-date to ensure fresh textures are loaded next time...
virtual std::shared_ptr< Texture > load(graphics::Renderable const &)=0
Loads texture from the renderable.
virtual void drop_unused()=0
Free textures that were not used (loaded) since the last drop/invalidate.