]> git.tdb.fi Git - libs/gl.git/blob - source/ext_framebuffer_object.h
Add a class to negotiate the storage of multiple objects in a buffer
[libs/gl.git] / source / ext_framebuffer_object.h
1 #ifndef MSP_GL_EXT_FRAMEBUFFER_OBJECT_
2 #define MSP_GL_EXT_FRAMEBUFFER_OBJECT_
3
4 #include "gl.h"
5 #include <GL/glext.h>
6
7 namespace Msp {
8 namespace GL {
9
10 extern PFNGLISRENDERBUFFEREXTPROC glIsRenderbufferEXT;
11 extern PFNGLBINDRENDERBUFFEREXTPROC glBindRenderbufferEXT;
12 extern PFNGLDELETERENDERBUFFERSEXTPROC glDeleteRenderbuffersEXT;
13 extern PFNGLGENRENDERBUFFERSEXTPROC glGenRenderbuffersEXT;
14 extern PFNGLRENDERBUFFERSTORAGEEXTPROC glRenderbufferStorageEXT;
15 extern PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glGetRenderbufferParameterivEXT;
16 extern PFNGLISFRAMEBUFFEREXTPROC glIsFramebufferEXT;
17 extern PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT;
18 extern PFNGLDELETEFRAMEBUFFERSEXTPROC glDeleteFramebuffersEXT;
19 extern PFNGLGENFRAMEBUFFERSEXTPROC glGenFramebuffersEXT;
20 extern PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glCheckFramebufferStatusEXT;
21 extern PFNGLFRAMEBUFFERTEXTURE1DEXTPROC glFramebufferTexture1DEXT;
22 extern PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glFramebufferTexture2DEXT;
23 extern PFNGLFRAMEBUFFERTEXTURE3DEXTPROC glFramebufferTexture3DEXT;
24 extern PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glFramebufferRenderbufferEXT;
25 extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glGetFramebufferAttachmentParameterivEXT;
26 extern PFNGLGENERATEMIPMAPEXTPROC glGenerateMipmapEXT;
27
28 void init_ext_framebuffer_object();
29
30 } // namespace GL
31 } // namespace Msp
32
33 #endif