Files Classes Functions Hierarchy
#include <gobj.h>
Public Member Functions | |
| gobjglEnable (GLenum capability_) | |
| Pass in what switch that you want to turn on. | |
| void | draw () |
| Turn the switch on. | |
Public Attributes | |
| GLenum | capability |
| The OpenGL capability being enabled. | |
gobjpush( new gobjglEnable(GL_LIGHTING) ); ... gobjpush( new gobjglDisable(GL_LIGHTING) );
Definition at line 448 of file gobj.h.
| gobjglEnable::gobjglEnable | ( | GLenum | capability_ | ) | [inline] |
Pass in what switch that you want to turn on.
Definition at line 456 of file gobj.h.
00457 : capability(capability_) {}
| void gobjglEnable::draw | ( | ) | [inline, virtual] |
Turn the switch on.
Implements gobj.
Definition at line 460 of file gobj.h.
References capability, and GOBJDEBUGCODE.
00461 { GOBJDEBUGCODE glEnable(capability); }
| GLenum gobjglEnable::capability |
1.5.8