Inviwo  0.9.10.1
Inviwo documentation
inviwo::utilgl::Viewport Struct Reference

representation of an OpenGL viewport with setter and getter More...

#include <openglutils.h>

Public Member Functions

 Viewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void get ()
 
void set ()
 
GLint x () const
 
GLint y () const
 
GLsizei width () const
 
GLsizei height () const
 

Friends

bool IVW_MODULE_OPENGL_API operator== (const Viewport &a, const Viewport &b)
 

Detailed Description

representation of an OpenGL viewport with setter and getter

See also
glViewport, GL_VIEWPORT

The documentation for this struct was generated from the following files: