OGRE-Next
4.0.0unstable
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 | 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 (const String &name) |
Set the default strategy by name. More... | |
void | setDefaultStrategy (LodStrategy *strategy) |
Set the default strategy. More... | |
Public Member Functions inherited from Ogre::Singleton< LodStrategyManager > | |
Singleton () | |
~Singleton () | |
Static Public Member Functions | |
static LodStrategyManager & | getSingleton () |
Override standard Singleton retrieval. More... | |
static LodStrategyManager * | getSingletonPtr () |
Override standard Singleton retrieval. More... | |
Static Public Member Functions inherited from Ogre::Singleton< LodStrategyManager > | |
static LodStrategyManager & | getSingleton () |
static LodStrategyManager * | getSingletonPtr () |
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.
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 | ( | const String & | name | ) |
Set the default strategy by name.
void Ogre::LodStrategyManager::setDefaultStrategy | ( | LodStrategy * | strategy | ) |
Set the default strategy.