Scene Camera Resource Manager. More...
#include <deCameraManager.h>
Public Member Functions | |
Constructors and Destructors | |
| deCameraManager (deEngine *engine) | |
| Creates a new scene camera resource manager linked to the given engine. | |
| ~deCameraManager () | |
| Cleans up the scene camera resource manager and reports leaking resources. | |
Management | |
| deCamera * | GetCameraAt (int index) const |
| Retrieves the camera at the given index. | |
| int | GetCameraCount () const |
| retrieves the count of scene cameras. | |
| deCamera * | CreateCamera () |
| Creates a new scene camera. | |
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 Camera Resource Manager.
| deCameraManager::deCameraManager | ( | deEngine * | engine ) |
Creates a new scene camera resource manager linked to the given engine.
| deCameraManager::~deCameraManager | ( | ) |
Cleans up the scene camera resource manager and reports leaking resources.
| deCamera* deCameraManager::CreateCamera | ( | ) |
Creates a new scene camera.
| deCamera* deCameraManager::GetCameraAt | ( | int | index ) | const |
Retrieves the camera at the given index.
| int deCameraManager::GetCameraCount | ( | ) | const |
retrieves the count of scene cameras.
| void deCameraManager::RemoveResource | ( | deResource * | resource ) | [virtual] |
Removes the given resource from the manager without freeing it.
Implements deResourceManager.
| void deCameraManager::SystemGraphicLoad | ( | ) | [virtual] |
Graphic System Peers of all stored resources have to be created.
Reimplemented from deResourceManager.
| void deCameraManager::SystemGraphicUnload | ( | ) | [virtual] |
Graphic System Peers of all stored resources have to be freed.
Reimplemented from deResourceManager.
1.7.2