OGRE: Ogre::SceneManager::lightsForShadowTextureLess Struct Reference - OGRE Documentation

Public Member Functions

# Ogre::SceneManager::lightsForShadowTextureLess Struct Reference

Default sorting routine which sorts lights which cast shadows to the front of a list, sub-sorting by distance. More...

`#include <OgreSceneManager.h>`

List of all members.

## Public Member Functions
_OgreExport bool | operator() (const Light *l1, const Light *l2) const

## Detailed Description

Default sorting routine which sorts lights which cast shadows to the front of a list, sub-sorting by distance.

Remarks:
  Since shadow textures are generated from lights based on the frustum rather than individual objects, a shadow and camera-wise sort is required to pick the best lights near the start of the list. Up to the number of shadow textures will be generated from this.

Definition at line 749 of file OgreSceneManager.h.

## Member Function Documentation

_OgreExport bool Ogre::SceneManager::lightsForShadowTextureLess::operator() | ( | const Light * | l1,
|  | const Light * | l2 |
| ) |  |  | const

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

- OgreSceneManager.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:25:00