OGRE
1.11.6
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 (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) |
Get the singleton instance. More... | |
static LodStrategyManager * | getSingletonPtr (void) |
Get the singleton instance. 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::removeStrategy | ( | const String & | name | ) |
Remove a strategy from the manager with a specified name.
void Ogre::LodStrategyManager::removeAllStrategies | ( | ) |
Remove and delete all strategies from the manager.
LodStrategy* Ogre::LodStrategyManager::getStrategy | ( | const String & | name | ) |
Get the strategy with the 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.
LodStrategy* Ogre::LodStrategyManager::getDefaultStrategy | ( | ) |
Get the current default strategy.
MapIterator<StrategyMap> Ogre::LodStrategyManager::getIterator | ( | ) |
Get an iterator for all contained strategies.
|
static |
Get the singleton instance.
|
static |
Get the singleton instance.