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 GetGLHandle() const -> GLuint
- auto Bind() const -> bool
- auto Bind(GLenum target) const -> bool
-
auto GetDrawbufferCount() const -> std::
uint32_t -
auto DrawBuffers(std::
uint32_t numDrawBuffers) -> bool -
auto GetRenderbufferCount() 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)