![]() |
OGRE-Next 3.0.0
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. | |
| bool | isDirty |
| bool | isStatic |
| Light * | light |
Used as the light list, sorted.
|
inline |
References distance, globalIndex, isDirty, isStatic, and light.
Referenced by operator<().
References distance, globalIndex, isDirty, isStatic, and light.
|
inline |
References LightClosest(), and distance.
| Real Ogre::LightClosest::distance |
Referenced by LightClosest(), LightClosest(), and 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.
Referenced by LightClosest(), and LightClosest().
| bool Ogre::LightClosest::isDirty |
Referenced by LightClosest(), and LightClosest().
| bool Ogre::LightClosest::isStatic |
Referenced by LightClosest(), and LightClosest().
| Light* Ogre::LightClosest::light |
Referenced by LightClosest(), and LightClosest().