nCine::GLScissorTest class

Handles OpenGL scissor test.

Public types

struct State
Holds the scissor test state.

Public static functions

static auto IsEnabled() -> bool
static auto GetRect() -> 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 GetState() -> State
static void SetState(State newState)

Constructors, destructors, conversion operators

GLScissorTest() deleted
~GLScissorTest() deleted