RAII object for OpenGL bool states.
More...
#include <modules/opengl/openglutils.h>
|
|
| GlBoolState (GlBoolState &&rhs) |
|
| GlBoolState (GlBoolState const &)=delete |
|
| GlBoolState (GLenum target, bool state) |
|
| operator bool () |
|
GlBoolState & | operator= (GlBoolState &&that) |
|
GlBoolState & | operator= (GlBoolState const &that)=delete |
|
|
bool | oldState_ |
|
bool | state_ |
|
GLenum | target_ |
RAII object for OpenGL bool states.
- See also
- glIsEnabled, glEnable, glDisable
The documentation for this struct was generated from the following file:
- modules/opengl/include/modules/opengl/openglutils.h