Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::utilgl::GlBoolState Struct Reference

RAII object for OpenGL bool states. More...

#include <modules/opengl/openglutils.h>

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

Public Member Functions

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

Protected Attributes

bool oldState_
 
bool state_
 
GLenum target_
 

Detailed Description

RAII object for OpenGL bool states.

See also
glIsEnabled, glEnable, glDisable

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