deGraphicContextManager Class Reference

Graphic Context Resource Manager. More...

#include <deGraphicContextManager.h>

Inheritance diagram for deGraphicContextManager:
deResourceManager

List of all members.

Public Member Functions

Constructors and Destructors
 deGraphicContextManager (deEngine *engine)
 Creates a new graphic context resource manager linked to the given engine.
virtual ~deGraphicContextManager ()
 Cleans up the graphic context resource manager and reports leaking resources.
Management
int GetGraphicContextCount () const
 retrieves the count of graphic contexts.
deGraphicContextCreateGraphicContext (deRenderTarget *target)
 Creates a new graphic context.
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

Graphic Context Resource Manager.

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

Constructor & Destructor Documentation

deGraphicContextManager::deGraphicContextManager ( deEngine engine )

Creates a new graphic context resource manager linked to the given engine.

virtual deGraphicContextManager::~deGraphicContextManager (  ) [virtual]

Cleans up the graphic context resource manager and reports leaking resources.


Member Function Documentation

deGraphicContext* deGraphicContextManager::CreateGraphicContext ( deRenderTarget target )

Creates a new graphic context.

int deGraphicContextManager::GetGraphicContextCount (  ) const

retrieves the count of graphic contexts.

void deGraphicContextManager::RemoveResource ( deResource resource ) [virtual]

Removes the given resource from the manager without freeing it.

Implements deResourceManager.

void deGraphicContextManager::SystemGraphicLoad (  ) [virtual]

Graphic System Peers of all stored resources have to be created.

Reimplemented from deResourceManager.

void deGraphicContextManager::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: