OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Manager for LOD strategies. More...
#include <OgreLodStrategyManager.h>
Public Member Functions | |
LodStrategyManager () | |
Default constructor. | |
~LodStrategyManager () | |
Destructor. | |
void | addStrategy (LodStrategy *strategy) |
Add a strategy to the manager. | |
LodStrategy * | getDefaultStrategy () |
Get the current default strategy. | |
MapIterator< StrategyMap > | getIterator () |
Get an iterator for all contained strategies. | |
LodStrategy * | getStrategy (const String &name) |
Get the strategy with the specified name. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | removeAllStrategies () |
Remove and delete all strategies from the manager. | |
LodStrategy * | removeStrategy (const String &name) |
Remove a strategy from the manager with a specified name. | |
void | setDefaultStrategy (const String &name) |
Set the default strategy by name. | |
void | setDefaultStrategy (LodStrategy *strategy) |
Set the default strategy. | |
Static Public Member Functions | |
static LodStrategyManager & | getSingleton (void) |
Override standard Singleton retrieval. | |
static LodStrategyManager * | getSingletonPtr (void) |
Override standard Singleton retrieval. | |
Manager for LOD strategies.
Ogre::LodStrategyManager::LodStrategyManager | ( | ) |
Default constructor.
Ogre::LodStrategyManager::~LodStrategyManager | ( | ) |
Destructor.
void Ogre::LodStrategyManager::addStrategy | ( | LodStrategy * | strategy | ) |
Add a strategy to the manager.
LodStrategy * Ogre::LodStrategyManager::getDefaultStrategy | ( | ) |
Get the current default strategy.
MapIterator< StrategyMap > Ogre::LodStrategyManager::getIterator | ( | ) |
Get an iterator for all contained strategies.
|
static |
Override standard Singleton retrieval.
|
static |
Override standard Singleton retrieval.
LodStrategy * Ogre::LodStrategyManager::getStrategy | ( | const String & | name | ) |
Get the strategy with the specified name.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
void Ogre::LodStrategyManager::removeAllStrategies | ( | ) |
Remove and delete all strategies from the manager.
LodStrategy * Ogre::LodStrategyManager::removeStrategy | ( | const String & | name | ) |
Remove a strategy from the manager with a specified name.
Set the default strategy by name.
void Ogre::LodStrategyManager::setDefaultStrategy | ( | LodStrategy * | strategy | ) |
Set the default strategy.