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

RAII object for OpenGL cull face state, which enables GL_CULL_FACE if mode is different from GL_NONE. More...

#include <openglutils.h>

+ Inheritance diagram for inviwo::utilgl::CullFaceState:

Public Member Functions

 CullFaceState (GLint mode)
 
 CullFaceState (CullFaceState const &)=delete
 
CullFaceStateoperator= (CullFaceState const &that)=delete
 
 CullFaceState (CullFaceState &&rhs)
 
CullFaceStateoperator= (CullFaceState &&that)
 
GLint getMode ()
 

Protected Attributes

GLint mode_
 
GLint oldMode_
 
- Protected Attributes inherited from inviwo::utilgl::GlBoolState
GLenum target_
 
bool oldState_
 
bool state_
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::utilgl::GlBoolState
 GlBoolState (GLenum target, bool state)
 
 GlBoolState (GlBoolState const &)=delete
 
GlBoolStateoperator= (GlBoolState const &that)=delete
 
 GlBoolState (GlBoolState &&rhs)
 
GlBoolStateoperator= (GlBoolState &&that)
 
 operator bool ()
 

Detailed Description

RAII object for OpenGL cull face state, which enables GL_CULL_FACE if mode is different from GL_NONE.

See also
glCullFace, GL_CULL_FACE

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