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

#include <landmanager.hpp>

Inheritance diagram for MWRender::LandManager:
Collaboration diagram for MWRender::LandManager:

Public Member Functions

 LandManager (int loadFlags)
 
osg::ref_ptr
< ESMTerrain::LandObject
getLand (int x, int y)
 
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

int mLoadFlags
 

Additional Inherited Members

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

Constructor & Destructor Documentation

MWRender::LandManager::LandManager ( int  loadFlags)

Member Function Documentation

osg::ref_ptr< ESMTerrain::LandObject > MWRender::LandManager::getLand ( int  x,
int  y 
)
Note
Will return NULL if not found.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWRender::LandManager::reportStats ( unsigned int  frameNumber,
osg::Stats *  stats 
) const
virtual

Reimplemented from Resource::ResourceManager.

Member Data Documentation

int MWRender::LandManager::mLoadFlags
private

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