nCine::GLViewport class

Handles OpenGL viewport.

Public types

struct State

Public static functions

static auto rect() -> Recti
static void setRect(const Recti& rect)
static void setRect(GLint x, GLint y, GLsizei width, GLsizei height)
static auto state() -> State
static void setState(State newState)

Constructors, destructors, conversion operators

GLViewport() deleted
~GLViewport() deleted