Ogre::QueuedRenderableCollection::RadixSortFunctorDistance Struct Reference

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

`#include <OgreRenderQueueSortingGrouping.h>`

## 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

## RadixSortFunctorDistance()

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

Definition at line 218 of file OgreRenderQueueSortingGrouping.h.

## Member Function Documentation

## operator()()

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

## camera

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 © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.