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