Public Member Functions | |
| W3DShadowTextureManager (void) | |
| ~W3DShadowTextureManager (void) | |
| int | createTexture (RenderObjClass *robj, const char *name) |
| W3DShadowTexture * | getTexture (const char *name) |
| W3DShadowTexture * | peekTexture (const char *name) |
| Bool | addTexture (W3DShadowTexture *new_texture) |
| void | freeAllTextures (void) |
| void | invalidateCachedLightPositions (void) |
| void | registerMissing (const char *name) |
| Bool | isMissing (const char *name) |
| void | resetMissing (void) |
Friends | |
| class | W3DShadowTextureManagerIterator |
This class will manage shadow textures for each render object. Shadow textures may be based on render geometry but don't need to be. This allows lower detail 'blob' textures to be substituted to improve performance.
Definition at line 132 of file W3DProjectedShadow.cpp.
| W3DShadowTextureManager::W3DShadowTextureManager | ( | void | ) |
Definition at line 2345 of file W3DProjectedShadow.cpp.
| W3DShadowTextureManager::~W3DShadowTextureManager | ( | void | ) |
Definition at line 2352 of file W3DProjectedShadow.cpp.
| Bool W3DShadowTextureManager::addTexture | ( | W3DShadowTexture * | newTexture | ) |
Add texture to cache
Definition at line 2394 of file W3DProjectedShadow.cpp.
| int W3DShadowTextureManager::createTexture | ( | RenderObjClass * | robj, |
| const char * | name ) |
Create shadow geometry from a reference W3D RenderObject
Definition at line 2451 of file W3DProjectedShadow.cpp.
| void W3DShadowTextureManager::freeAllTextures | ( | void | ) |
Release all loaded textures
Definition at line 2364 of file W3DProjectedShadow.cpp.
| W3DShadowTexture * W3DShadowTextureManager::getTexture | ( | const char * | name | ) |
Get texture from cache and increment its reference count
Definition at line 2384 of file W3DProjectedShadow.cpp.
| void W3DShadowTextureManager::invalidateCachedLightPositions | ( | void | ) |
Definition at line 2405 of file W3DProjectedShadow.cpp.
| Bool W3DShadowTextureManager::isMissing | ( | const char * | name | ) |
Definition at line 2445 of file W3DProjectedShadow.cpp.
| W3DShadowTexture * W3DShadowTextureManager::peekTexture | ( | const char * | name | ) |
Find texture in cache
Definition at line 2378 of file W3DProjectedShadow.cpp.
| void W3DShadowTextureManager::registerMissing | ( | const char * | name | ) |
Definition at line 2440 of file W3DProjectedShadow.cpp.
| void W3DShadowTextureManager::resetMissing | ( | void | ) |
|
friend |
Definition at line 154 of file W3DProjectedShadow.cpp.