Inviwo  0.9.10.1
Inviwo documentation
inviwo::utilgl::GlBoolState Struct Reference

RAII object for OpenGL bool states. More...

#include <openglutils.h>

+ Inheritance diagram for inviwo::utilgl::GlBoolState:

Public Member Functions

 GlBoolState (GlBoolState const &)=delete
 
GlBoolStateoperator= (GlBoolState const &that)=delete
 
 GlBoolState (GLenum target, bool state)
 
 GlBoolState (GlBoolState &&rhs)
 
GlBoolStateoperator= (GlBoolState &&that)
 
 operator bool ()
 

Protected Attributes

GLenum target_
 
bool oldState_
 
bool state_
 

Detailed Description

RAII object for OpenGL bool states.

See also
glIsEnabled, glEnable, glDisable

The documentation for this struct was generated from the following files: