40 #ifndef _GLOBAL_LIGHT_MGR_H
41 #define _GLOBAL_LIGHT_MGR_H
52 class GlobalLightMgrThreadMap;
70 static GLS_EXPORT
unsigned int MAX_OPENGL_LIGHTS;
77 bool _enableNormalize;
89 static inline unsigned int GlMaxLights() {
return MAX_OPENGL_LIGHTS; }
unsigned int GetActiveLightsBitMask(void)
friend class GlobalLightMgrThreadMap
Definition: global_light_mgr.h:68
The disti::DynamicArray class. A templated array of objects capable of dynamically growing...
bool * GetActiveLightsMask(void)
void SetLightingState(LightingState &newState)
const LightingState & GetLightingState(void)
void ReapplyLights()
Definition: global_light_mgr.h:103
A file for all GL Studio files to include.
bool _reapplyLights
Definition: global_light_mgr.h:76
DynamicArray< GlsLightSource * > _tempOpenGLLights
Definition: global_light_mgr.h:73
void SetupLighting(GlsEyePoint *relativeToEyepoint=NULL)
LightingState _currentOpenGLState
Definition: global_light_mgr.h:71
DynamicStack< LightingState, false > _lightingStateStack
Definition: global_light_mgr.h:74
Generally useful defines, macros, enumerations and function prototypes.
static GlobalLightMgr & Instance()
static unsigned int GlMaxLights()
Definition: global_light_mgr.h:89
Definition: gls_eyepoint.h:115
void InitializeStateFromOpenGL(void)
unsigned int GetNumActiveLights(void)
Definition: global_light_mgr.h:59
void RestoreOpenGLState(void)
DynamicArray< GlsLightSource * > LightingState
Definition: global_light_mgr.h:65
static bool EnableNormalize()
Definition: bmpimage.h:46
LightingState _currentState
Definition: global_light_mgr.h:72