![]() |
OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Used as the light list, sorted. More...
#include <OgreCommon.h>
Public Member Functions | |
| LightClosest () | |
| LightClosest (Light *_light, size_t _globalIndex, Real _distance) | |
| bool | operator< (const LightClosest &right) const |
Public Attributes | |
| Real | distance |
| size_t | globalIndex |
| Index to SceneManager::mGlobalLightList. More... | |
| bool | isDirty |
| bool | isStatic |
| Light * | light |
Used as the light list, sorted.
|
inline |
|
inline |
References distance.
| Real Ogre::LightClosest::distance |
Referenced by operator<().
| size_t Ogre::LightClosest::globalIndex |
Index to SceneManager::mGlobalLightList.
globalIndex may be == SceneManager::mGlobalLightList.size() if it holds a static light (see CompositorShadowNode::setLightFixedToShadowMap) that is not currently in camera.
| bool Ogre::LightClosest::isDirty |
| bool Ogre::LightClosest::isStatic |
| Light* Ogre::LightClosest::light |