OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::LightClosest Struct Reference

Used as the light list, sorted. More...

#include <OgreCommon.h>

+ Collaboration diagram for Ogre::LightClosest:

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
 
Light const * light
 

Detailed Description

Used as the light list, sorted.

Definition at line 541 of file OgreCommon.h.

Constructor & Destructor Documentation

Ogre::LightClosest::LightClosest ( )
inline

Definition at line 547 of file OgreCommon.h.

Ogre::LightClosest::LightClosest ( Light _light,
size_t  _globalIndex,
Real  _distance 
)
inline

Definition at line 548 of file OgreCommon.h.

Member Function Documentation

bool Ogre::LightClosest::operator< ( const LightClosest right) const
inline

Member Data Documentation

Real Ogre::LightClosest::distance

Definition at line 545 of file OgreCommon.h.

size_t Ogre::LightClosest::globalIndex

Definition at line 544 of file OgreCommon.h.

Light const* Ogre::LightClosest::light

Definition at line 543 of file OgreCommon.h.


The documentation for this struct was generated from the following file: