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 176 of file lighting.h.


Member Function Documentation

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

Reimplemented in CImmLighting, and CDListLighting.

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

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

Reimplemented in CImmLighting, and CDListLighting.

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 172 of file lighting.h.

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

Definition at line 173 of file lighting.h.


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