Manager for LOD strategies.
More...
#include <OgreLodStrategyManager.h>
|
| | 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.
|
Manager for LOD strategies.
Definition at line 47 of file OgreLodStrategyManager.h.
◆ StrategyMap
◆ LodStrategyManager()
| Ogre::LodStrategyManager::LodStrategyManager |
( |
| ) |
|
◆ ~LodStrategyManager()
| Ogre::LodStrategyManager::~LodStrategyManager |
( |
| ) |
|
◆ addStrategy()
| void Ogre::LodStrategyManager::addStrategy |
( |
LodStrategy * | strategy | ) |
|
Add a strategy to the manager.
◆ getDefaultStrategy()
| LodStrategy * Ogre::LodStrategyManager::getDefaultStrategy |
( |
| ) |
|
Get the current default strategy.
◆ getIterator()
Get an iterator for all contained strategies.
◆ getSingleton()
Override standard Singleton retrieval.
- This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
References LodStrategyManager().
◆ getSingletonPtr()
Override standard Singleton retrieval.
- This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
References LodStrategyManager().
◆ getStrategy()
Get the strategy with the specified name.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ removeAllStrategies()
| void Ogre::LodStrategyManager::removeAllStrategies |
( |
| ) |
|
Remove and delete all strategies from the manager.
◆ removeStrategy()
Remove a strategy from the manager with a specified name.
◆ setDefaultStrategy() [1/2]
| void Ogre::LodStrategyManager::setDefaultStrategy |
( |
const String & | name | ) |
|
Set the default strategy by name.
◆ setDefaultStrategy() [2/2]
| void Ogre::LodStrategyManager::setDefaultStrategy |
( |
LodStrategy * | strategy | ) |
|
Set the default strategy.
◆ mDefaultStrategy
| LodStrategy* Ogre::LodStrategyManager::mDefaultStrategy |
|
private |
◆ msSingleton
◆ mStrategies
The documentation for this class was generated from the following file: