class
#include <nCine/Graphics/GL/GLFramebuffer.h>
GLFramebuffer Handles OpenGL framebuffer objects.
Public static variables
-
static const std::
uint32_t MaxDrawbuffers -
static const std::
uint32_t MaxRenderbuffers
Public static functions
Constructors, destructors, conversion operators
- GLFramebuffer() explicit
- ~GLFramebuffer()
- GLFramebuffer(const GLFramebuffer&) deleted
Public functions
- auto operator=(const GLFramebuffer&) -> GLFramebuffer& deleted
- auto glHandle() const -> GLuint
- auto bind() const -> bool
- auto bind(GLenum target) const -> bool
-
auto numDrawbuffers() const -> std::
uint32_t - auto drawBuffers(unsigned int numDrawBuffers) -> bool
-
auto numRenderbuffers() const -> std::
uint32_t - auto attachRenderbuffer(const char* label, GLenum internalFormat, GLsizei width, GLsizei height, GLenum attachment) -> bool
- auto attachRenderbuffer(GLenum internalFormat, GLsizei width, GLsizei height, GLenum attachment) -> bool
- auto detachRenderbuffer(GLenum internalFormat) -> bool
- void attachTexture(GLTexture& texture, GLenum attachment)
- void detachTexture(GLenum attachment)
- void invalidate(GLsizei numAttachments, const GLenum* attachments)
- auto isStatusComplete() -> bool
- void setObjectLabel(const char* label)