Comparator to order objects by descending camera distance. More...
#include <OgreRenderQueueSortingGrouping.h>
Public Member Functions | |
DepthSortDescendingLess (const Camera *cam) | |
bool _OgreExport | operator() (const RenderablePass &a, const RenderablePass &b) const |
Public Attributes | |
const Camera * | camera |
Comparator to order objects by descending camera distance.
Definition at line 157 of file OgreRenderQueueSortingGrouping.h.
|
inline |
Definition at line 161 of file OgreRenderQueueSortingGrouping.h.
|
inline |
Definition at line 166 of file OgreRenderQueueSortingGrouping.h.
References Ogre::Pass::getHash(), Ogre::Renderable::getSquaredViewDepth(), Ogre::RenderablePass::pass, Ogre::Math::RealEqual(), and Ogre::RenderablePass::renderable.
const Camera* Ogre::QueuedRenderableCollection::DepthSortDescendingLess::camera |
Definition at line 159 of file OgreRenderQueueSortingGrouping.h.