|
PS2GL
OpenGL*-like API for the PS2
|
Inheritance diagram for CImmLighting:
Collaboration diagram for CImmLighting:Public Member Functions | |
| CImmLighting (CGLContext &context) | |
| CImmLight & | GetImmLight (int num) |
| CLight & | GetLight (int num) |
| void | SetLightingEnabled (bool enabled) |
| bool | GetLightingEnabled () const |
| void | SetGlobalAmbient (cpu_vec_xyzw newAmb) |
| cpu_vec_xyzw | GetGlobalAmbient () |
| void | SpecularChanged () |
| void | MaterialHasSpecular () |
Public Member Functions inherited from CLighting | |
| CLighting (CGLContext &context) | |
Private Member Functions | |
| void | TellRendererLightPropChanged () |
Private Attributes | |
| cpu_vec_xyzw | CurrentColor |
| cpu_vec_xyzw | GlobalAmbient |
| CImmLight | Light0 |
| CImmLight | Light1 |
| CImmLight | Light2 |
| CImmLight | Light3 |
| CImmLight | Light4 |
| CImmLight | Light5 |
| CImmLight | Light6 |
| CImmLight | Light7 |
| CImmLight * | Lights [NumLights] |
| bool | IsEnabled |
| int | NumLightsWithNonzeroSpecular |
Additional Inherited Members | |
Protected Attributes inherited from CLighting | |
| CGLContext & | GLContext |
Static Protected Attributes inherited from CLighting | |
| static const int | NumLights = 8 |
Definition at line 214 of file lighting.h.
| CImmLighting::CImmLighting | ( | CGLContext & | context | ) |
Definition at line 217 of file lighting.cpp.
|
inlineprivate |
Definition at line 222 of file lighting.h.
|
inline |
Definition at line 230 of file lighting.h.
|
inlinevirtual |
Implements CLighting.
Definition at line 235 of file lighting.h.
|
inlinevirtual |
Implements CLighting.
Definition at line 237 of file lighting.h.
|
inline |
Definition at line 243 of file lighting.h.
|
inlinevirtual |
Implements CLighting.
Definition at line 245 of file lighting.h.
|
inline |
Definition at line 250 of file lighting.h.
| void CImmLighting::SpecularChanged | ( | ) |
Definition at line 242 of file lighting.cpp.
| void CImmLighting::MaterialHasSpecular | ( | ) |
Definition at line 258 of file lighting.cpp.
|
private |
Definition at line 215 of file lighting.h.
|
private |
Definition at line 216 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 217 of file lighting.h.
|
private |
Definition at line 218 of file lighting.h.
|
private |
Definition at line 219 of file lighting.h.
|
private |
Definition at line 220 of file lighting.h.