Class TextureCache

Class Documentation

class TextureCache

Public Functions

explicit TextureCache(ImageCachePtr image_cache, size_t size = 512, rclcpp::Logger logger = rclcpp::get_logger("tile_map::TextureCache"))
TexturePtr GetTexture(size_t url_hash, const QString &url, bool &failed, int priority)
void AddTexture(const TexturePtr &texture)
void SetLogger(rclcpp::Logger logger)
void Clear()