OpenMW
|
Managing of keyframe resources. More...
#include <keyframemanager.hpp>
Public Member Functions | |
KeyframeManager (const VFS::Manager *vfs) | |
~KeyframeManager () | |
osg::ref_ptr< const NifOsg::KeyframeHolder > | get (const std::string &name) |
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... | |
void | setExpiryDelay (double expiryDelay) |
How long to keep objects in cache after no longer being referenced. More... | |
const VFS::Manager * | getVFS () const |
Additional Inherited Members | |
Protected Attributes inherited from Resource::ResourceManager | |
const VFS::Manager * | mVFS |
osg::ref_ptr < Resource::ObjectCache > | mCache |
double | mExpiryDelay |
Managing of keyframe resources.
Resource::KeyframeManager::KeyframeManager | ( | const VFS::Manager * | vfs | ) |
Resource::KeyframeManager::~KeyframeManager | ( | ) |
osg::ref_ptr< const NifOsg::KeyframeHolder > Resource::KeyframeManager::get | ( | const std::string & | name | ) |
Retrieve a read-only keyframe resource by name (case-insensitive).