Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::utilgl::Viewport Struct Reference

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

#include <modules/opengl/openglutils.h>

Public Member Functions

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

Friends

bool operator!= (const Viewport &lhs, const Viewport &rhs)
bool 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 file:
  • modules/opengl/include/modules/opengl/openglutils.h