Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
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 (GLenum target, bool state)
 GlBoolState (GlBoolState const &)=delete
GlBoolStateoperator= (GlBoolState const &that)=delete
 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 file:
  • openglutils.h