![]() |
Inviwo
0.9.10.1
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>
Inheritance diagram for inviwo::utilgl::CullFaceState:Public Member Functions | |
| CullFaceState (CullFaceState const &)=delete | |
| CullFaceState & | operator= (CullFaceState const &that)=delete |
| CullFaceState (GLint mode) | |
| CullFaceState (CullFaceState &&rhs) | |
| CullFaceState & | operator= (CullFaceState &&that) |
| GLint | getMode () |
Public Member Functions inherited from inviwo::utilgl::GlBoolState | |
| GlBoolState (GlBoolState const &)=delete | |
| GlBoolState & | operator= (GlBoolState const &that)=delete |
| GlBoolState (GLenum target, bool state) | |
| GlBoolState (GlBoolState &&rhs) | |
| GlBoolState & | operator= (GlBoolState &&that) |
| operator bool () | |
Protected Attributes | |
| GLint | mode_ |
| GLint | oldMode_ |
Protected Attributes inherited from inviwo::utilgl::GlBoolState | |
| GLenum | target_ |
| bool | oldState_ |
| bool | state_ |
RAII object for OpenGL cull face state, which enables GL_CULL_FACE if mode is different from GL_NONE.
RAII object for OpenGL polygon mode as well as line width and point size Will set the polygon mode for GL_FRONT_AND_BACK since this is the only mode supported by the OpenGL core profile.