OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Terrain::TextureManager Class Reference

#include <texturemanager.hpp>

Inheritance diagram for Terrain::TextureManager:
Collaboration diagram for Terrain::TextureManager:

Public Member Functions

 TextureManager (Resource::SceneManager *sceneMgr)
 
void updateTextureFiltering ()
 
osg::ref_ptr< osg::Texture2D > getTexture (const std::string &name)
 
virtual void reportStats (unsigned int frameNumber, osg::Stats *stats) const
 
- Public Member Functions inherited from Resource::ResourceManager
 ResourceManager (const VFS::Manager *vfs)
 
virtual ~ResourceManager ()
 
virtual void updateCache (double referenceTime)
 Clear cache entries that have not been referenced for longer than expiryDelay. More...
 
virtual void clearCache ()
 Clear all cache entries. More...
 
void setExpiryDelay (double expiryDelay)
 How long to keep objects in cache after no longer being referenced. More...
 
const VFS::ManagergetVFS () const
 
virtual void releaseGLObjects (osg::State *state)
 

Private Attributes

Resource::SceneManagermSceneManager
 

Additional Inherited Members

- Protected Attributes inherited from Resource::ResourceManager
const VFS::ManagermVFS
 
osg::ref_ptr
< Resource::ObjectCache
mCache
 
double mExpiryDelay
 

Constructor & Destructor Documentation

Terrain::TextureManager::TextureManager ( Resource::SceneManager sceneMgr)

Member Function Documentation

osg::ref_ptr< osg::Texture2D > Terrain::TextureManager::getTexture ( const std::string &  name)

Here is the call graph for this function:

Here is the caller graph for this function:

void Terrain::TextureManager::reportStats ( unsigned int  frameNumber,
osg::Stats *  stats 
) const
virtual

Reimplemented from Resource::ResourceManager.

void Terrain::TextureManager::updateTextureFiltering ( )

Member Data Documentation

Resource::SceneManager* Terrain::TextureManager::mSceneManager
private

The documentation for this class was generated from the following files: