![]() |
OGRE 1.12.10
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>
Public Member Functions | |
ResourcePool (const String &name) | |
~ResourcePool () | |
void | clear () |
Clear the pool. | |
const String & | getName () const |
Get the name of the pool. | |
![]() | |
Pool () | |
virtual | ~Pool () |
virtual void | addItem (const ResourcePtr &i) |
Add a new item to the pool. | |
virtual std::pair< bool, ResourcePtr > | removeItem () |
Get the next item from the pool. | |
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 | ( | ) |
|
virtual |
Clear the pool.
Reimplemented from Ogre::Pool< ResourcePtr >.