1 #ifndef OPENMW_COMPONENTS_RESOURCE_IMAGEMANAGER_H
2 #define OPENMW_COMPONENTS_RESOURCE_IMAGEMANAGER_H
9 #include <osg/Texture2D>
31 osg::ref_ptr<osg::Image>
getImage(
const std::string& filename);
35 void reportStats(
unsigned int frameNumber, osg::Stats* stats)
const;
osg::ref_ptr< osgDB::Options > mOptions
Definition: imagemanager.hpp:39
void reportStats(unsigned int frameNumber, osg::Stats *stats) const
Definition: imagemanager.cpp:163
void operator=(const ImageManager &)
Handles loading/caching of Images.
Definition: imagemanager.hpp:23
~ImageManager()
Definition: imagemanager.cpp:54
osg::Image * getWarningImage()
Definition: imagemanager.cpp:158
osg::ref_ptr< osg::Image > getImage(const std::string &filename)
Definition: imagemanager.cpp:84
ImageManager(const VFS::Manager *vfs)
Definition: imagemanager.cpp:47
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
Base class for managers that require a virtual file system and object cache.
Definition: resourcemanager.hpp:23
osg::ref_ptr< osg::Image > mWarningImage
Definition: imagemanager.hpp:38