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::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);
57 std::set<std::string> &source_image_names);
Definition imagesource.h:20
video::IImage * get(const std::string &name)
Definition imagesource.cpp:64
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:74
~SourceImageCache()
Definition imagesource.cpp:23
std::map< std::string, video::IImage * > m_images
Definition imagesource.h:31
Definition clientmap.h:30
Definition imagesource.h:35
static video::SColor getImageAverageColor(const video::IImage &image)
Definition imagesource.cpp:1940
bool m_setting_mipmap
Definition imagesource.h:60
bool m_setting_anisotropic_filter
Definition imagesource.h:63
bool generateImagePart(std::string_view part_of_name, video::IImage *&baseimg, std::set< std::string > &source_image_names)
Definition imagesource.cpp:1000
video::IImage * generateImage(std::string_view name, std::set< std::string > &source_image_names)
Definition imagesource.cpp:1827
ImageSource()
Definition imagesource.cpp:1820
SourceImageCache m_sourcecache
Definition imagesource.h:66
bool m_setting_bilinear_filter
Definition imagesource.h:62
void insertSourceImage(const std::string &name, video::IImage *img, bool prefer_local)
Definition imagesource.cpp:1966
bool m_setting_trilinear_filter
Definition imagesource.h:61