Inviwo 0.9.12-pre
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 operator== (const Viewport &a, const Viewport &b)
bool operator!= (const Viewport &lhs, const Viewport &rhs)

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 file:
  • openglutils.h