torque Torque Game Engine Documentation
TGE Version 1.5.2

sgLightingModel Class Reference

#include <sgLightingModel.h>

Inheritance diagram for sgLightingModel:

Inheritance graph
[legend]

Public Member Functions

 sgLightingModel ()
void sgRegisterLightingModel ()
virtual void sgSetState (LightInfo *light)
virtual void sgLightingGL (S32 gllight)
virtual void sgInitStateLM ()
virtual void sgLightingLM (const Point3F &point, VectorF normal, ColorF &diffuse, ColorF &ambient, Point3F &lightingnormal)
virtual void sgResetState ()
virtual F32 sgScoreLight (LightInfo *light, const SphereF &sphere)
virtual bool sgCanIlluminate (const Box3F &box)=0
virtual F32 sgGetMaxRadius (bool speedoverquality=false, bool glstyle=false)=0
virtual Point3F sgGetModelInfo ()=0

Data Fields

char sgLightingModelName [64]

Protected Attributes

bool sgStateSet
bool sgStateInitLM
LightInfosgLight

Constructor & Destructor Documentation

sgLightingModel::sgLightingModel (  ) 


Member Function Documentation

void sgLightingModel::sgRegisterLightingModel (  ) 

virtual void sgLightingModel::sgLightingGL ( S32  gllight  )  [inline, virtual]

Reimplemented in sgLightingModelGLBase.

virtual void sgLightingModel::sgInitStateLM (  )  [inline, virtual]

virtual void sgLightingModel::sgLightingLM ( const Point3F point,
VectorF  normal,
ColorF diffuse,
ColorF ambient,
Point3F lightingnormal 
) [inline, virtual]

virtual void sgLightingModel::sgResetState (  )  [inline, virtual]

virtual F32 sgLightingModel::sgScoreLight ( LightInfo light,
const SphereF sphere 
) [inline, virtual]

Reimplemented in sgLightingModelGLBase.

virtual bool sgLightingModel::sgCanIlluminate ( const Box3F box  )  [pure virtual]

virtual F32 sgLightingModel::sgGetMaxRadius ( bool  speedoverquality = false,
bool  glstyle = false 
) [pure virtual]

virtual Point3F sgLightingModel::sgGetModelInfo (  )  [pure virtual]

Implemented in sgLightingModelGLBase.


Field Documentation

bool sgLightingModel::sgStateSet [protected]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen