Inviwo 0.9.12-pre
Inviwo documentation
|
RAII object for OpenGL bool states. More...
#include <openglutils.h>
Public Member Functions | |
GlBoolState (GLenum target, bool state) | |
GlBoolState (GlBoolState const &)=delete | |
GlBoolState & | operator= (GlBoolState const &that)=delete |
GlBoolState (GlBoolState &&rhs) | |
GlBoolState & | operator= (GlBoolState &&that) |
operator bool () | |
Protected Attributes | |
GLenum | target_ |
bool | oldState_ |
bool | state_ |
RAII object for OpenGL bool states.