PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CDListLighting Class Reference
+ Inheritance diagram for CDListLighting:
+ Collaboration diagram for CDListLighting:

Public Member Functions

 CDListLighting (CGLContext &context)
 
CDListLightGetDListLight (int num)
 
CLightGetLight (int num)
 
void SetLightingEnabled (bool enabled)
 
void SetGlobalAmbient (cpu_vec_xyzw newAmb)
 
- Public Member Functions inherited from CLighting
 CLighting (CGLContext &context)
 

Private Member Functions

void TellRendererLightPropChanged ()
 

Private Attributes

CDListLight Light0
 
CDListLight Light1
 
CDListLight Light2
 
CDListLight Light3
 
CDListLight Light4
 
CDListLight Light5
 
CDListLight Light6
 
CDListLight Light7
 
CDListLightLights [NumLights]
 

Additional Inherited Members

- Protected Attributes inherited from CLighting
CGLContextGLContext
 
- Static Protected Attributes inherited from CLighting
static const int NumLights = 8
 

Detailed Description

Definition at line 260 of file lighting.h.

Constructor & Destructor Documentation

◆ CDListLighting()

CDListLighting::CDListLighting ( CGLContext context)

Definition at line 266 of file lighting.cpp.

Member Function Documentation

◆ TellRendererLightPropChanged()

void CDListLighting::TellRendererLightPropChanged ( )
inlineprivate

Definition at line 264 of file lighting.h.

◆ GetDListLight()

CDListLight & CDListLighting::GetDListLight ( int  num)
inline

Definition at line 272 of file lighting.h.

◆ GetLight()

CLight & CDListLighting::GetLight ( int  num)
inlinevirtual

Implements CLighting.

Definition at line 277 of file lighting.h.

◆ SetLightingEnabled()

void CDListLighting::SetLightingEnabled ( bool  enabled)
virtual

Implements CLighting.

Definition at line 302 of file lighting.cpp.

◆ SetGlobalAmbient()

void CDListLighting::SetGlobalAmbient ( cpu_vec_xyzw  newAmb)
virtual

Implements CLighting.

Definition at line 323 of file lighting.cpp.

Field Documentation

◆ Light0

CDListLight CDListLighting::Light0
private

Definition at line 261 of file lighting.h.

◆ Light1

CDListLight CDListLighting::Light1
private

Definition at line 261 of file lighting.h.

◆ Light2

CDListLight CDListLighting::Light2
private

Definition at line 261 of file lighting.h.

◆ Light3

CDListLight CDListLighting::Light3
private

Definition at line 261 of file lighting.h.

◆ Light4

CDListLight CDListLighting::Light4
private

Definition at line 261 of file lighting.h.

◆ Light5

CDListLight CDListLighting::Light5
private

Definition at line 261 of file lighting.h.

◆ Light6

CDListLight CDListLighting::Light6
private

Definition at line 261 of file lighting.h.

◆ Light7

CDListLight CDListLighting::Light7
private

Definition at line 261 of file lighting.h.

◆ Lights

CDListLight* CDListLighting::Lights[NumLights]
private

Definition at line 262 of file lighting.h.


The documentation for this class was generated from the following files: