ShadowCasterManager Class Reference

#include <shadowCasterManager.h>

List of all members.

Static Public Member Functions

static void registerShadowCaster (ShadowCaster *shadowCaster)
 Register an existing ShadowCaster with us.
static void unregisterShadowCaster (ShadowCaster *shadowCaster)
 Unregister an existing ShadowCaster with us (no longer notified of cleanup).
static void cleanupUnusedShadows ()
 Loop through all registered ShadowCasters and have them cleanup unused shadows.
static void clearAllShadows ()
 Loop through all registered ShadowCasters and have them delete all shadows.

Static Private Attributes

static Vector< ShadowCaster * > smShadowCasters
 Array of registered ShadowCasters.
static U32 smLastCleanup
 When we last cleaned up unused shadows.


Member Function Documentation

static void ShadowCasterManager::registerShadowCaster ( ShadowCaster shadowCaster  )  [static]

Register an existing ShadowCaster with us.

static void ShadowCasterManager::unregisterShadowCaster ( ShadowCaster shadowCaster  )  [static]

Unregister an existing ShadowCaster with us (no longer notified of cleanup).

static void ShadowCasterManager::cleanupUnusedShadows (  )  [static]

Loop through all registered ShadowCasters and have them cleanup unused shadows.

static void ShadowCasterManager::clearAllShadows (  )  [static]

Loop through all registered ShadowCasters and have them delete all shadows.


Member Data Documentation

Array of registered ShadowCasters.

When we last cleaned up unused shadows.