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.
Ogre::QueuedRenderableCollection::DepthSortDescendingLess::DepthSortDescendingLess | ( | const Camera * | cam | ) |
Definition at line 161 of file OgreRenderQueueSortingGrouping.h.
bool _OgreExport Ogre::QueuedRenderableCollection::DepthSortDescendingLess::operator() | ( | const RenderablePass & | a, | |
const RenderablePass & | b | |||
) | const |
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.
Definition at line 159 of file OgreRenderQueueSortingGrouping.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:39:12 2012