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 (GlBoolState &&rhs)
 GlBoolState (GlBoolState const &)=delete
 GlBoolState (GLenum target, bool state)
 operator bool ()
GlBoolState & operator= (GlBoolState &&that)
GlBoolState & operator= (GlBoolState const &that)=delete

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:
  • modules/opengl/include/modules/opengl/openglutils.h