OGRE 14.3
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 | 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. | |
Public Member Functions inherited from Ogre::Singleton< LodStrategyManager > | |
Singleton (void) | |
~Singleton (void) | |
Static Public Member Functions | |
static LodStrategyManager & | getSingleton (void) |
Get the singleton instance. | |
static LodStrategyManager * | getSingletonPtr (void) |
Get the singleton instance. | |
Static Public Member Functions inherited from Ogre::Singleton< LodStrategyManager > | |
static LodStrategyManager & | getSingleton (void) |
Get the singleton instance. | |
static LodStrategyManager * | getSingletonPtr (void) |
Get the singleton instance. | |
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.
The removed strategy is returned so the user can control how it is destroyed.
void Ogre::LodStrategyManager::removeAllStrategies | ( | ) |
Remove and delete all strategies from the manager.
All strategies are deleted. If finer control is required over strategy destruction, use removeStrategy.
LodStrategy * Ogre::LodStrategyManager::getStrategy | ( | const String & | name | ) |
Get the strategy with the specified name.
void Ogre::LodStrategyManager::setDefaultStrategy | ( | LodStrategy * | strategy | ) |
Set the default strategy.
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.