Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CLighting Class Reference

#include <lighting.h>

Inheritance diagram for CLighting::

CDListLighting CImmLighting List of all members.

Public Methods

 CLighting (CGLContext &context)
virtual CLightGetLight (int num)=0
virtual void SetLightingEnabled (bool enabled)=0
virtual void SetGlobalAmbient (cpu_vec_xyzw newAmb)=0

Protected Attributes

CGLContextGLContext

Static Protected Attributes

const int NumLights = 8

Constructor & Destructor Documentation

CLighting::CLighting CGLContext   context [inline]
 

Definition at line 178 of file lighting.h.


Member Function Documentation

virtual CLight& CLighting::GetLight int    num [pure virtual]
 

Reimplemented in CImmLighting, and CDListLighting.

Referenced by glDisable(), glEnable(), glLightf(), and glLightfv().

virtual void CLighting::SetGlobalAmbient cpu_vec_xyzw    newAmb [pure virtual]
 

Reimplemented in CImmLighting, and CDListLighting.

virtual void CLighting::SetLightingEnabled bool    enabled [pure virtual]
 

Reimplemented in CImmLighting, and CDListLighting.

Referenced by glDisable(), and glEnable().


Member Data Documentation

CGLContext& CLighting::GLContext [protected]
 

Definition at line 174 of file lighting.h.

const int CLighting::NumLights = 8 [static, protected]
 

Definition at line 175 of file lighting.h.


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