deLightManager Class Reference

Scene Light Resource Manager. More...

#include <deLightManager.h>

Inheritance diagram for deLightManager:
deResourceManager

List of all members.

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.
deLightCreateLight ()
 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.

Detailed Description

Scene Light Resource Manager.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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