nCine::GLBlending class

Handles OpenGL blending.

Public types

struct State

Public static functions

static auto isEnabled() -> bool
static void enable()
static void disable()
static void setBlendFunc(GLenum sfactor, GLenum dfactor)
static void setBlendFunc(GLenum srcRgb, GLenum dstRgb, GLenum srcAlpha, GLenum dstAlpha)
static auto state() -> State
static void setState(State newState)

Constructors, destructors, conversion operators

GLBlending() deleted
~GLBlending() deleted