25 #include "glfViewport.hh"
59 glViewport(x_, y_, width_, height_);
virtual void Bind() const
Binds the viewport.
void SetSize(int width, int height)
Sets the size of the viewport in pixel coordinates.
void SetOrigin(int x, int y)
Sets the position of the upper-left corner of the viewport in pixel coordinates.