#include <lighting.h>
Inheritance diagram for CLight::
Public Methods | |
CLight (CGLContext &context, int lightNum) | |
virtual void | SetAmbient (cpu_vec_xyzw ambient)=0 |
virtual void | SetDiffuse (cpu_vec_xyzw diffuse)=0 |
virtual void | SetSpecular (cpu_vec_xyzw specular)=0 |
virtual void | SetPosition (cpu_vec_xyzw position)=0 |
virtual void | SetDirection (cpu_vec_xyzw direction)=0 |
virtual void | SetSpotDirection (cpu_vec_xyzw dir)=0 |
virtual void | SetSpotCutoff (float cutoff)=0 |
virtual void | SetSpotExponent (float exp)=0 |
virtual void | SetConstantAtten (float atten)=0 |
virtual void | SetLinearAtten (float atten)=0 |
virtual void | SetQuadAtten (float atten)=0 |
virtual void | SetEnabled (bool yesNo)=0 |
Protected Attributes | |
CGLContext & | GLContext |
int | LightNum |
|
Definition at line 30 of file lighting.h. |
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightf(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by CGLContext::CGLContext(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by setPosition().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glEnable().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightf(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightfv(), and setPosition().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightf(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by CGLContext::CGLContext(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightf(), and glLightfv().
|
|
Reimplemented in CImmLight, and CDListLight. |
|
Reimplemented in CImmLight, and CDListLight. Referenced by glLightf(), and glLightfv().
|
|
Definition at line 27 of file lighting.h. |
|
Definition at line 28 of file lighting.h. |