#include <OgrePixelCountLodStrategy.h>
◆ ScreenRatioPixelCountLodStrategy()
Ogre::ScreenRatioPixelCountLodStrategy::ScreenRatioPixelCountLodStrategy |
( |
| ) |
|
◆ getValueImpl()
Real Ogre::ScreenRatioPixelCountLodStrategy::getValueImpl |
( |
const MovableObject * |
movableObject, |
|
|
const Camera * |
camera |
|
) |
| const |
|
virtual |
◆ getSingleton()
Get the singleton instance.
◆ getSingletonPtr()
Get the singleton instance.
◆ getBaseValue()
virtual Real Ogre::PixelCountLodStrategyBase::getBaseValue |
( |
| ) |
const |
|
virtualinherited |
◆ transformBias()
virtual Real Ogre::PixelCountLodStrategyBase::transformBias |
( |
Real |
factor | ) |
const |
|
virtualinherited |
Transform LOD bias so it only needs to be multiplied by the LOD value.
Implements Ogre::LodStrategy.
◆ getIndex() [1/2]
Get the index of the LOD usage which applies to a given value.
Implements Ogre::LodStrategy.
◆ getIndex() [2/2]
Get the index of the LOD usage which applies to a given value.
Implements Ogre::LodStrategy.
◆ sort()
Sort mesh LOD usage list from greatest to least detail.
Implements Ogre::LodStrategy.
◆ isSorted()
virtual bool Ogre::PixelCountLodStrategyBase::isSorted |
( |
const Mesh::LodValueList & |
values | ) |
const |
|
virtualinherited |
Determine if the LOD values are sorted from greatest detail to least detail.
Implements Ogre::LodStrategy.
◆ transformUserValue()
virtual Real Ogre::LodStrategy::transformUserValue |
( |
Real |
userValue | ) |
const |
|
virtualinherited |
◆ getValue()
Compute the LOD value for a given movable object relative to a given camera.
◆ assertSorted()
Assert that the LOD values are sorted from greatest detail to least detail.
◆ getName()
const String& Ogre::LodStrategy::getName |
( |
void |
| ) |
const |
|
inlineinherited |
Get the name of this strategy.
The documentation for this class was generated from the following file: