Added addEntryToObjectCache method to osgDB::Registry

This commit is contained in:
Robert Osfield
2003-10-01 13:12:25 +00:00
parent 2f4d02278c
commit facbdcf43b
2 changed files with 10 additions and 3 deletions

View File

@@ -191,6 +191,8 @@ class OSGDB_EXPORT Registry : public osg::Referenced
/** Remove all objects in the cache regardless of having external references or expiry times.*/
void clearObjectCache();
void addEntryToObjectCache(const std::string& filename, osg::Object* object, double timestamp = 0.0);
/** get the attached library with specified name.*/
DynamicLibrary* getLibrary(const std::string& fileName);