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