Files Classes Functions Hierarchy
#include <graphmisc.h>
Public Member Functions | |
| myglCapability (GLenum capability_) | |
| Enable the given capability. | |
| ~myglCapability () | |
| Turn off the capability. | |
Public Attributes | |
| GLenum | capability |
Use with named variables so when the object goes out of scope the destructor is called.
Definition at line 147 of file graphmisc.h.
| myglCapability::myglCapability | ( | GLenum | capability_ | ) | [inline] |
Enable the given capability.
Definition at line 155 of file graphmisc.h.
References capability.
00156 : capability(capability_) 00157 { glEnable(capability); }
| myglCapability::~myglCapability | ( | ) | [inline] |
Turn off the capability.
Definition at line 160 of file graphmisc.h.
References capability.
00161 { glDisable(capability); }
| GLenum myglCapability::capability |
1.5.8