#include <imagesource.h>
Collaboration diagram for SourceImageCache:Public Member Functions | |
| ~SourceImageCache () | |
| void | insert (const std::string &name, video::IImage *img, bool prefer_local) |
| video::IImage * | get (const std::string &name) |
| video::IImage * | getOrLoad (const std::string &name) |
Private Attributes | |
| std::unordered_map< std::string, video::IImage * > | m_images |
| SourceImageCache::~SourceImageCache | ( | ) |
References m_images.
| video::IImage * SourceImageCache::get | ( | const std::string & | name | ) |
References m_images.
| video::IImage * SourceImageCache::getOrLoad | ( | const std::string & | name | ) |
References RenderingEngine::get_video_driver(), getTexturePath(), infostream, and m_images.
Referenced by ImageSource::generateImagePart().
Here is the call graph for this function:
Here is the caller graph for this function:| void SourceImageCache::insert | ( | const std::string & | name, |
| video::IImage * | img, | ||
| bool | prefer_local ) |
References RenderingEngine::get_video_driver(), getTexturePath(), and m_images.
Referenced by ImageSource::insertSourceImage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by ~SourceImageCache(), get(), getOrLoad(), and insert().