Inviwo 0.9.12-pre
Inviwo documentation
|
RAII object for OpenGL cull face state, which enables GL_CULL_FACE if mode is different from GL_NONE. More...
#include <openglutils.h>
Public Member Functions | |
CullFaceState (GLint mode) | |
CullFaceState (CullFaceState const &)=delete | |
CullFaceState & | operator= (CullFaceState const &that)=delete |
CullFaceState (CullFaceState &&rhs) | |
CullFaceState & | operator= (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 | |
GlBoolState & | operator= (GlBoolState const &that)=delete |
GlBoolState (GlBoolState &&rhs) | |
GlBoolState & | operator= (GlBoolState &&that) |
operator bool () | |
RAII object for OpenGL cull face state, which enables GL_CULL_FACE if mode is different from GL_NONE.