class
#include <nCine/Graphics/GL/GLFramebuffer.h>
GLFramebuffer Handles OpenGL framebuffer objects.
Public static variables
- static const unsigned int MaxDrawbuffers
- static const unsigned int MaxRenderbuffers
Public static functions
Constructors, destructors, conversion operators
- GLFramebuffer() explicit
- ~GLFramebuffer()
Public functions
- auto glHandle() const -> GLuint
- auto bind() const -> bool
- auto bind(GLenum target) const -> bool
- auto numDrawbuffers() const -> unsigned int
- auto drawBuffers(unsigned int numDrawBuffers) -> bool
- auto numRenderbuffers() const -> unsigned int
- 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)