![]() |
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>
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.