Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::SceneGraph::LightSourceHandle Class Reference

#include <ObjectTypes/Light/LightNode.hh>

Public Member Functions

GLenum getLight (LightNode *_node)
void removeLight (LightNode *_node)

Private Attributes

std::map< GLenum, LightNode * > lights_

Detailed Description

Assign a unique OpenGL light source identifier to each of the light source nodes in the scene. These relations are stored in a map. If there is no free light source left, return GL_INVALID_ENUM as light source enumerant.

Definition at line 343 of file LightNode.hh.

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