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

RAII object for OpenGL viewports. More...

#include <openglutils.h>

Public Member Functions

 ViewportState (GLint x, GLint y, GLsizei width, GLsizei height)
 
 ViewportState (const ivec4 &coords)
 
 ViewportState (ViewportState &&) noexcept=default
 
ViewportStateoperator= (ViewportState &&) noexcept=default
 

Detailed Description

RAII object for OpenGL viewports.

See also
glViewport

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