COpenGL::GetLightingMode![]()
BOOL GetLightingMode( void );
Return Value
The return value is TRUE if OpenGL lighting is enabled. The return value is FALSE if OpenGL lighting is disabled.
Remarks
The method function retrieves the current thread’s OpenGL rendering context lighting mode state.
The method function is a wrapper around the OpenGL glGetBooleanv function
| Note: | The GetLightingMode method function uses the current OpenGL rendering context. Ensure that the current rendering context is what you intend to use. Use wglMakeCurrent or DrawBeginmethod functions to set the current rendering context. |
See Also
SetLightingMode, GetNumberOfLights, SetLightState, GetLightState, SetLightModelLocalViewer, GetLightModelLocalViewer
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |