Files Classes Functions Hierarchy
#include <graphmisc.h>
Public Member Functions | |
| myLightingTurnOff () | |
| Push the current lighting state and disable lighting. | |
| ~myLightingTurnOff () | |
| Restore the previous lighting state. | |
Use with named variables so when the object goes out of scope the destructor is called.
Definition at line 185 of file graphmisc.h.
| myLightingTurnOff::myLightingTurnOff | ( | ) | [inline] |
Push the current lighting state and disable lighting.
Definition at line 190 of file graphmisc.h.
00191 { 00192 glPushAttrib(GL_CURRENT_BIT); 00193 glPushAttrib(GL_LIGHTING_BIT); 00194 glDisable(GL_LIGHTING); 00195 }
| myLightingTurnOff::~myLightingTurnOff | ( | ) | [inline] |
1.5.8