nCine::GLRenderbuffer class

Handles OpenGL renderbuffer objects.

Public static functions

static auto unbind() -> bool

Constructors, destructors, conversion operators

GLRenderbuffer(GLenum internalFormat, GLsizei width, GLsizei height)
~GLRenderbuffer()

Public functions

auto glHandle() const -> GLuint
void setAttachment(GLenum attachment)
auto attachment() const -> GLenum
auto bind() const -> bool
void setObjectLabel(const char* label)