#include "gl-headers.h"
void* (GLAD_API_PTR *GLExtensions::MapBuffer) (GLenum target, GLenum access) = …;
GLboolean (GLAD_API_PTR *GLExtensions::UnmapBuffer) (GLenum target) = …;
void (GLAD_API_PTR *GLExtensions::GenFramebuffers)(GLsizei n, GLuint *framebuffers) = …;
void (GLAD_API_PTR *GLExtensions::DeleteFramebuffers)(GLsizei n, const GLuint * framebuffers) = …;
void (GLAD_API_PTR *GLExtensions::BindFramebuffer)(GLenum target, GLuint framebuffer) = …;
void (GLAD_API_PTR *GLExtensions::FramebufferTexture2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) = …;
void (GLAD_API_PTR *GLExtensions::FramebufferRenderbuffer)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) = …;
GLenum (GLAD_API_PTR *GLExtensions::CheckFramebufferStatus)(GLenum target) = …;
void (GLAD_API_PTR *GLExtensions::GenRenderbuffers)(GLsizei n, GLuint * renderbuffers) = …;
void (GLAD_API_PTR *GLExtensions::DeleteRenderbuffers)(GLsizei n, const GLuint * renderbuffers) = …;
void (GLAD_API_PTR *GLExtensions::BindRenderbuffer)(GLenum target, GLuint renderbuffer) = …;
void (GLAD_API_PTR *GLExtensions::RenderbufferStorage)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) = …;
void (GLAD_API_PTR *GLExtensions::GenerateMipmap)(GLenum target) = …;
bool
GLExtensions::support(const std::string &ext)
{ … }