8#include <unordered_map>
24 void insert(
const std::string &name, video::IImage *img,
bool prefer_local);
26 video::IImage*
get(
const std::string &name);
29 video::IImage *
getOrLoad(
const std::string &name);
31 std::unordered_map<std::string, video::IImage*>
m_images;
43 video::IImage*
generateImage(std::string_view name, std::set<std::string> &source_image_names);
46 void insertSourceImage(
const std::string &name, video::IImage *img,
bool prefer_local);
54 std::set<std::string> &source_image_names);
Definition imagesource.h:20
video::IImage * get(const std::string &name)
Definition imagesource.cpp:63
void insert(const std::string &name, video::IImage *img, bool prefer_local)
Definition imagesource.cpp:30
video::IImage * getOrLoad(const std::string &name)
Definition imagesource.cpp:72
~SourceImageCache()
Definition imagesource.cpp:23
std::unordered_map< std::string, video::IImage * > m_images
Definition imagesource.h:31
Definition clientmap.h:30
Definition imagesource.h:35
bool m_setting_mipmap
Definition imagesource.h:57
bool m_setting_anisotropic_filter
Definition imagesource.h:60
bool generateImagePart(std::string_view part_of_name, video::IImage *&baseimg, std::set< std::string > &source_image_names)
Definition imagesource.cpp:957
video::IImage * generateImage(std::string_view name, std::set< std::string > &source_image_names)
Definition imagesource.cpp:1788
ImageSource()
Definition imagesource.cpp:1781
SourceImageCache m_sourcecache
Definition imagesource.h:63
bool m_setting_bilinear_filter
Definition imagesource.h:59
void insertSourceImage(const std::string &name, video::IImage *img, bool prefer_local)
Definition imagesource.cpp:1901
bool m_setting_trilinear_filter
Definition imagesource.h:58