Scene Light Resource Manager. More...
#include <deLightManager.h>
Public Member Functions | |
Constructors and Destructors | |
| deLightManager (deEngine *engine) | |
| Creates a new scene light resource manager linked to the given engine. | |
| ~deLightManager () | |
| Cleans up the scene light resource manager and reports leaking resources. | |
Management | |
| int | GetLightCount () const |
| retrieves the count of scene lights. | |
| deLight * | CreateLight () |
| Creates a new scene light. | |
System Peer Management | |
| void | SystemGraphicLoad () |
| Graphic System Peers of all stored resources have to be created. | |
| void | SystemGraphicUnload () |
| Graphic System Peers of all stored resources have to be freed. | |
Resource only Functions | |
Those functions are only for resource objects and should never be called directly from an application. | |
| void | RemoveResource (deResource *resource) |
| Removes the given resource from the manager without freeing it. | |
Scene Light Resource Manager.
| deLightManager::deLightManager | ( | deEngine * | engine ) |
Creates a new scene light resource manager linked to the given engine.
| deLightManager::~deLightManager | ( | ) |
Cleans up the scene light resource manager and reports leaking resources.
| deLight* deLightManager::CreateLight | ( | ) |
Creates a new scene light.
| int deLightManager::GetLightCount | ( | ) | const |
retrieves the count of scene lights.
| void deLightManager::RemoveResource | ( | deResource * | resource ) | [virtual] |
Removes the given resource from the manager without freeing it.
Implements deResourceManager.
| void deLightManager::SystemGraphicLoad | ( | ) | [virtual] |
Graphic System Peers of all stored resources have to be created.
Reimplemented from deResourceManager.
| void deLightManager::SystemGraphicUnload | ( | ) | [virtual] |
Graphic System Peers of all stored resources have to be freed.
Reimplemented from deResourceManager.
1.7.2