![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them. More...
#include <OgreResourceManager.h>
Inheritance diagram for Ogre::ResourceManager::ResourcePool:Public Member Functions | |
| ResourcePool (const String &name) | |
| ~ResourcePool () | |
| virtual void | addItem (const ResourcePtr &i) |
| Add a new item to the pool. More... | |
| void | clear () |
| Clear the pool. More... | |
| const String & | getName () const |
| Get the name of the pool. More... | |
| virtual std::pair< bool, ResourcePtr > | removeItem () |
| Get the next item from the pool. More... | |
Definition of a pool of resources, which users can use to reuse similar resources many times without destroying and recreating them.
| Ogre::ResourceManager::ResourcePool::ResourcePool | ( | const String & | name | ) |
| Ogre::ResourceManager::ResourcePool::~ResourcePool | ( | ) |
| const String& Ogre::ResourceManager::ResourcePool::getName | ( | ) | const |
Get the name of the pool.
|
virtual |
Clear the pool.
Reimplemented from Ogre::Pool< ResourcePtr >.
|
inlinevirtualinherited |
Get the next item from the pool.
References OGRE_LOCK_AUTO_MUTEX.
|
inlinevirtualinherited |
Add a new item to the pool.
References OGRE_LOCK_AUTO_MUTEX.