#include <lighting.h>
Inheritance diagram for CImmLight::
Public Methods | |
CImmLight (CGLContext &context, int lightNum) | |
void | SetAmbient (cpu_vec_xyzw ambient) |
void | SetDiffuse (cpu_vec_xyzw diffuse) |
void | SetSpecular (cpu_vec_xyzw specular) |
void | SetPosition (cpu_vec_xyzw position) |
void | SetDirection (cpu_vec_xyzw direction) |
void | SetSpotDirection (cpu_vec_xyzw dir) |
void | SetSpotCutoff (float cutoff) |
void | SetSpotExponent (float exp) |
void | SetConstantAtten (float atten) |
void | SetLinearAtten (float atten) |
void | SetQuadAtten (float atten) |
void | SetEnabled (bool enabled) |
cpu_vec_xyzw | GetAmbient () const |
cpu_vec_xyzw | GetDiffuse () const |
cpu_vec_xyzw | GetSpecular () const |
cpu_vec_xyzw | GetPosition () const |
cpu_vec_xyzw | GetSpotDir () const |
float | GetSpotCutoff () const |
float | GetSpotExponent () const |
float | GetConstantAtten () const |
float | GetLinearAtten () const |
float | GetQuadAtten () const |
bool | IsEnabled () const |
bool | IsDirectional () const |
bool | IsPoint () const |
bool | IsSpot () const |
|
Definition at line 21 of file lighting.cpp. |
|
Definition at line 117 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 126 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 118 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 127 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 120 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 128 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 119 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext(), and CImmLighting::SpecularChanged().
|
|
Definition at line 123 of file lighting.h. |
|
Definition at line 122 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 124 of file lighting.h. |
|
Definition at line 131 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 130 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext(), and CImmLighting::SpecularChanged().
|
|
Definition at line 132 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Definition at line 133 of file lighting.h. Referenced by CBaseRenderer::AddVu1RendererContext().
|
|
Reimplemented from CLight. Definition at line 73 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 102 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 77 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 90 of file lighting.cpp. |
|
Reimplemented from CLight. Definition at line 48 of file lighting.cpp. |
|
Reimplemented from CLight. Definition at line 106 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 77 of file lighting.cpp. |
|
Reimplemented from CLight. Definition at line 110 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 63 of file lighting.cpp. |
|
Reimplemented from CLight. Definition at line 89 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 85 of file lighting.h. |
|
Reimplemented from CLight. Definition at line 97 of file lighting.h. |