![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
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. More...
#include <modules/opengl/openglutils.h>
Public Member Functions | |
| PolygonModeState & | operator= (const PolygonModeState &that)=delete |
| PolygonModeState & | operator= (PolygonModeState &&that) |
| PolygonModeState (const PolygonModeState &)=delete | |
| PolygonModeState (GLenum mode, GLfloat lineWidth, GLfloat pointSize) | |
| PolygonModeState (PolygonModeState &&rhs) | |
Protected Attributes | |
| GLfloat | lineWidth_ |
| GLint | mode_ |
| GLfloat | oldLineWidth_ |
| GLint | oldMode_ |
| GLfloat | oldPointSize_ |
| GLfloat | pointSize_ |
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.