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

Public Member Functions

 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

static const int NumLights = 8
 

Detailed Description

Definition at line 190 of file lighting.h.

Constructor & Destructor Documentation

◆ CLighting()

CLighting::CLighting ( CGLContext context)
inline

Definition at line 196 of file lighting.h.

◆ ~CLighting()

virtual CLighting::~CLighting ( )
inlinevirtual

Definition at line 200 of file lighting.h.

Field Documentation

◆ GLContext

CGLContext& CLighting::GLContext
protected

Definition at line 192 of file lighting.h.

◆ NumLights

const int CLighting::NumLights = 8
staticprotected

Definition at line 193 of file lighting.h.


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