OGRE: Ogre::QueuedRenderableCollection::RadixSortFunctorDistance Struct Reference - OGRE Documentation

Public Member Functions | Public Attributes

# Ogre::QueuedRenderableCollection::RadixSortFunctorDistance Struct Reference

Functor for descending sort value 2 for radix sort (distance). More...

`#include <OgreRenderQueueSortingGrouping.h>`

List of all members.

## Public Member Functions
| RadixSortFunctorDistance (const Camera *cam)
float | operator() (const RenderablePass &p) const
## Public Attributes
const Camera * | camera

## Detailed Description

Functor for descending sort value 2 for radix sort (distance).

Definition at line 214 of file OgreRenderQueueSortingGrouping.h.

## Constructor & Destructor Documentation

Ogre::QueuedRenderableCollection::RadixSortFunctorDistance::RadixSortFunctorDistance | ( | const Camera * | cam | ) |

Definition at line 218 of file OgreRenderQueueSortingGrouping.h.

## Member Function Documentation

float Ogre::QueuedRenderableCollection::RadixSortFunctorDistance::operator() | ( | const RenderablePass & | p | ) | const

Definition at line 223 of file OgreRenderQueueSortingGrouping.h.

References Ogre::Renderable::getSquaredViewDepth(), and Ogre::RenderablePass::renderable.

## Member Data Documentation

const Camera* Ogre::QueuedRenderableCollection::RadixSortFunctorDistance::camera

Definition at line 216 of file OgreRenderQueueSortingGrouping.h.

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

- OgreRenderQueueSortingGrouping.h

Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:24:59