#include <imagesource.h>
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::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().
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().
|
private |
Referenced by ~SourceImageCache(), get(), getOrLoad(), and insert().