nCine::GLScissorTest class

Handles OpenGL scissor test.

Public types

struct State

Public static functions

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

Constructors, destructors, conversion operators

GLScissorTest() deleted
~GLScissorTest() deleted