Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glexts.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 #include <SDL.h>
5 #include <SDL_opengl.h>
6 
7 
8 // OpenGL 1.3
9 #ifndef WIN32
10 #define glActiveTexture_ glActiveTexture
11 
12 #define glBlendEquation_ glBlendEquation
13 #define glBlendColor_ glBlendColor
14 
15 #define glTexImage3D_ glTexImage3D
16 #define glTexSubImage3D_ glTexSubImage3D
17 #define glCopyTexSubImage3D_ glCopyTexSubImage3D
18 
19 #define glCompressedTexImage3D_ glCompressedTexImage3D
20 #define glCompressedTexImage2D_ glCompressedTexImage2D
21 #define glCompressedTexImage1D_ glCompressedTexImage1D
22 #define glCompressedTexSubImage3D_ glCompressedTexSubImage3D
23 #define glCompressedTexSubImage2D_ glCompressedTexSubImage2D
24 #define glCompressedTexSubImage1D_ glCompressedTexSubImage1D
25 #define glGetCompressedTexImage_ glGetCompressedTexImage
26 
27 #define glDrawRangeElements_ glDrawRangeElements
28 #else
29 extern PFNGLACTIVETEXTUREPROC glActiveTexture_;
30 
31 extern PFNGLBLENDEQUATIONPROC glBlendEquation_;
32 extern PFNGLBLENDCOLORPROC glBlendColor_;
33 
34 extern PFNGLTEXIMAGE3DPROC glTexImage3D_;
35 extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D_;
36 extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D_;
37 
38 extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D_;
39 extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D_;
40 extern PFNGLCOMPRESSEDTEXIMAGE1DPROC glCompressedTexImage1D_;
41 extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D_;
42 extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D_;
43 extern PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glCompressedTexSubImage1D_;
44 extern PFNGLGETCOMPRESSEDTEXIMAGEPROC glGetCompressedTexImage_;
45 
46 extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements_;
47 #endif
48 
49 #ifndef GL_VERSION_2_1
50 #define GL_VERSION_2_1 1
51 #define GL_FLOAT_MAT2x3 0x8B65
52 #define GL_FLOAT_MAT2x4 0x8B66
53 #define GL_FLOAT_MAT3x2 0x8B67
54 #define GL_FLOAT_MAT3x4 0x8B68
55 #define GL_FLOAT_MAT4x2 0x8B69
56 #define GL_FLOAT_MAT4x3 0x8B6A
57 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
58 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
59 typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
60 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
61 typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
62 typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
63 #endif
64 
65 // OpenGL 2.1
66 #ifdef __APPLE__
67 #define glMultiDrawArrays_ glMultiDrawArrays
68 #define glMultiDrawElements_ glMultiDrawElements
69 
70 #define glBlendFuncSeparate_ glBlendFuncSeparate
71 #define glBlendEquationSeparate_ glBlendEquationSeparate
72 #define glStencilOpSeparate_ glStencilOpSeparate
73 #define glStencilFuncSeparate_ glStencilFuncSeparate
74 #define glStencilMaskSeparate_ glStencilMaskSeparate
75 
76 #define glGenBuffers_ glGenBuffers
77 #define glBindBuffer_ glBindBuffer
78 #define glMapBuffer_ glMapBuffer
79 #define glUnmapBuffer_ glUnmapBuffer
80 #define glBufferData_ glBufferData
81 #define glBufferSubData_ glBufferSubData
82 #define glDeleteBuffers_ glDeleteBuffers
83 #define glGetBufferSubData_ glGetBufferSubData
84 
85 #define glGenQueries_ glGenQueries
86 #define glDeleteQueries_ glDeleteQueries
87 #define glBeginQuery_ glBeginQuery
88 #define glEndQuery_ glEndQuery
89 #define glGetQueryiv_ glGetQueryiv
90 #define glGetQueryObjectiv_ glGetQueryObjectiv
91 #define glGetQueryObjectuiv_ glGetQueryObjectuiv
92 
93 #define glCreateProgram_ glCreateProgram
94 #define glDeleteProgram_ glDeleteProgram
95 #define glUseProgram_ glUseProgram
96 #define glCreateShader_ glCreateShader
97 #define glDeleteShader_ glDeleteShader
98 #define glShaderSource_ glShaderSource
99 #define glCompileShader_ glCompileShader
100 #define glGetShaderiv_ glGetShaderiv
101 #define glGetProgramiv_ glGetProgramiv
102 #define glAttachShader_ glAttachShader
103 #define glGetProgramInfoLog_ glGetProgramInfoLog
104 #define glGetShaderInfoLog_ glGetShaderInfoLog
105 #define glLinkProgram_ glLinkProgram
106 #define glGetUniformLocation_ glGetUniformLocation
107 #define glUniform1f_ glUniform1f
108 #define glUniform2f_ glUniform2f
109 #define glUniform3f_ glUniform3f
110 #define glUniform4f_ glUniform4f
111 #define glUniform1fv_ glUniform1fv
112 #define glUniform2fv_ glUniform2fv
113 #define glUniform3fv_ glUniform3fv
114 #define glUniform4fv_ glUniform4fv
115 #define glUniform1i_ glUniform1i
116 #define glUniform2i_ glUniform2i
117 #define glUniform3i_ glUniform3i
118 #define glUniform4i_ glUniform4i
119 #define glUniform1iv_ glUniform1iv
120 #define glUniform2iv_ glUniform2iv
121 #define glUniform3iv_ glUniform3iv
122 #define glUniform4iv_ glUniform4iv
123 #define glUniformMatrix2fv_ glUniformMatrix2fv
124 #define glUniformMatrix3fv_ glUniformMatrix3fv
125 #define glUniformMatrix4fv_ glUniformMatrix4fv
126 #define glBindAttribLocation_ glBindAttribLocation
127 #define glGetActiveUniform_ glGetActiveUniform
128 #define glEnableVertexAttribArray_ glEnableVertexAttribArray
129 #define glDisableVertexAttribArray_ glDisableVertexAttribArray
130 
131 #define glVertexAttrib1f_ glVertexAttrib1f
132 #define glVertexAttrib1fv_ glVertexAttrib1fv
133 #define glVertexAttrib1s_ glVertexAttrib1s
134 #define glVertexAttrib1sv_ glVertexAttrib1sv
135 #define glVertexAttrib2f_ glVertexAttrib2f
136 #define glVertexAttrib2fv_ glVertexAttrib2fv
137 #define glVertexAttrib2s_ glVertexAttrib2s
138 #define glVertexAttrib2sv_ glVertexAttrib2sv
139 #define glVertexAttrib3f_ glVertexAttrib3f
140 #define glVertexAttrib3fv_ glVertexAttrib3fv
141 #define glVertexAttrib3s_ glVertexAttrib3s
142 #define glVertexAttrib3sv_ glVertexAttrib3sv
143 #define glVertexAttrib4f_ glVertexAttrib4f
144 #define glVertexAttrib4fv_ glVertexAttrib4fv
145 #define glVertexAttrib4s_ glVertexAttrib4s
146 #define glVertexAttrib4sv_ glVertexAttrib4sv
147 #define glVertexAttrib4bv_ glVertexAttrib4bv
148 #define glVertexAttrib4iv_ glVertexAttrib4iv
149 #define glVertexAttrib4ubv_ glVertexAttrib4ubv
150 #define glVertexAttrib4uiv_ glVertexAttrib4uiv
151 #define glVertexAttrib4usv_ glVertexAttrib4usv
152 #define glVertexAttrib4Nbv_ glVertexAttrib4Nbv
153 #define glVertexAttrib4Niv_ glVertexAttrib4Niv
154 #define glVertexAttrib4Nub_ glVertexAttrib4Nub
155 #define glVertexAttrib4Nubv_ glVertexAttrib4Nubv
156 #define glVertexAttrib4Nuiv_ glVertexAttrib4Nuiv
157 #define glVertexAttrib4Nusv_ glVertexAttrib4Nusv
158 #define glVertexAttribPointer_ glVertexAttribPointer
159 
160 #define glUniformMatrix2x3fv_ glUniformMatrix2x3fv
161 #define glUniformMatrix3x2fv_ glUniformMatrix3x2fv
162 #define glUniformMatrix2x4fv_ glUniformMatrix2x4fv
163 #define glUniformMatrix4x2fv_ glUniformMatrix4x2fv
164 #define glUniformMatrix3x4fv_ glUniformMatrix3x4fv
165 #define glUniformMatrix4x3fv_ glUniformMatrix4x3fv
166 
167 #define glDrawBuffers_ glDrawBuffers
168 #else
169 extern PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays_;
170 extern PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements_;
171 
172 extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate_;
173 extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate_;
174 extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate_;
175 extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate_;
176 extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate_;
177 
178 extern PFNGLGENBUFFERSPROC glGenBuffers_;
179 extern PFNGLBINDBUFFERPROC glBindBuffer_;
180 extern PFNGLMAPBUFFERPROC glMapBuffer_;
181 extern PFNGLUNMAPBUFFERPROC glUnmapBuffer_;
182 extern PFNGLBUFFERDATAPROC glBufferData_;
183 extern PFNGLBUFFERSUBDATAPROC glBufferSubData_;
184 extern PFNGLDELETEBUFFERSPROC glDeleteBuffers_;
185 extern PFNGLGETBUFFERSUBDATAPROC glGetBufferSubData_;
186 
187 extern PFNGLGENQUERIESPROC glGenQueries_;
188 extern PFNGLDELETEQUERIESPROC glDeleteQueries_;
189 extern PFNGLBEGINQUERYPROC glBeginQuery_;
190 extern PFNGLENDQUERYPROC glEndQuery_;
191 extern PFNGLGETQUERYIVPROC glGetQueryiv_;
192 extern PFNGLGETQUERYOBJECTIVPROC glGetQueryObjectiv_;
193 extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv_;
194 
195 extern PFNGLCREATEPROGRAMPROC glCreateProgram_;
196 extern PFNGLDELETEPROGRAMPROC glDeleteProgram_;
197 extern PFNGLUSEPROGRAMPROC glUseProgram_;
198 extern PFNGLCREATESHADERPROC glCreateShader_;
199 extern PFNGLDELETESHADERPROC glDeleteShader_;
200 extern PFNGLSHADERSOURCEPROC glShaderSource_;
201 extern PFNGLCOMPILESHADERPROC glCompileShader_;
202 extern PFNGLGETSHADERIVPROC glGetShaderiv_;
203 extern PFNGLGETPROGRAMIVPROC glGetProgramiv_;
204 extern PFNGLATTACHSHADERPROC glAttachShader_;
205 extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog_;
206 extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog_;
207 extern PFNGLLINKPROGRAMPROC glLinkProgram_;
208 extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation_;
209 extern PFNGLUNIFORM1FPROC glUniform1f_;
210 extern PFNGLUNIFORM2FPROC glUniform2f_;
211 extern PFNGLUNIFORM3FPROC glUniform3f_;
212 extern PFNGLUNIFORM4FPROC glUniform4f_;
213 extern PFNGLUNIFORM1FVPROC glUniform1fv_;
214 extern PFNGLUNIFORM2FVPROC glUniform2fv_;
215 extern PFNGLUNIFORM3FVPROC glUniform3fv_;
216 extern PFNGLUNIFORM4FVPROC glUniform4fv_;
217 extern PFNGLUNIFORM1IPROC glUniform1i_;
218 extern PFNGLUNIFORM2IPROC glUniform2i_;
219 extern PFNGLUNIFORM3IPROC glUniform3i_;
220 extern PFNGLUNIFORM4IPROC glUniform4i_;
221 extern PFNGLUNIFORM1IVPROC glUniform1iv_;
222 extern PFNGLUNIFORM2IVPROC glUniform2iv_;
223 extern PFNGLUNIFORM3IVPROC glUniform3iv_;
224 extern PFNGLUNIFORM4IVPROC glUniform4iv_;
225 extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_;
226 extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_;
227 extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_;
228 extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation_;
229 extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform_;
230 extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray_;
231 extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray_;
232 
233 extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f_;
234 extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv_;
235 extern PFNGLVERTEXATTRIB1SPROC glVertexAttrib1s_;
236 extern PFNGLVERTEXATTRIB1SVPROC glVertexAttrib1sv_;
237 extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f_;
238 extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv_;
239 extern PFNGLVERTEXATTRIB2SPROC glVertexAttrib2s_;
240 extern PFNGLVERTEXATTRIB2SVPROC glVertexAttrib2sv_;
241 extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f_;
242 extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv_;
243 extern PFNGLVERTEXATTRIB3SPROC glVertexAttrib3s_;
244 extern PFNGLVERTEXATTRIB3SVPROC glVertexAttrib3sv_;
245 extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f_;
246 extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv_;
247 extern PFNGLVERTEXATTRIB4SPROC glVertexAttrib4s_;
248 extern PFNGLVERTEXATTRIB4SVPROC glVertexAttrib4sv_;
249 extern PFNGLVERTEXATTRIB4BVPROC glVertexAttrib4bv_;
250 extern PFNGLVERTEXATTRIB4IVPROC glVertexAttrib4iv_;
251 extern PFNGLVERTEXATTRIB4UBVPROC glVertexAttrib4ubv_;
252 extern PFNGLVERTEXATTRIB4UIVPROC glVertexAttrib4uiv_;
253 extern PFNGLVERTEXATTRIB4USVPROC glVertexAttrib4usv_;
254 extern PFNGLVERTEXATTRIB4NBVPROC glVertexAttrib4Nbv_;
255 extern PFNGLVERTEXATTRIB4NIVPROC glVertexAttrib4Niv_;
256 extern PFNGLVERTEXATTRIB4NUBPROC glVertexAttrib4Nub_;
257 extern PFNGLVERTEXATTRIB4NUBVPROC glVertexAttrib4Nubv_;
258 extern PFNGLVERTEXATTRIB4NUIVPROC glVertexAttrib4Nuiv_;
259 extern PFNGLVERTEXATTRIB4NUSVPROC glVertexAttrib4Nusv_;
260 extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer_;
261 
262 extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv_;
263 extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv_;
264 extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv_;
265 extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv_;
266 extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv_;
267 extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv_;
268 
269 extern PFNGLDRAWBUFFERSPROC glDrawBuffers_;
270 #endif
271 
272 // GL_ARB_framebuffer_object
273 #ifndef GL_ARB_framebuffer_object
274 #define GL_ARB_framebuffer_object 1
275 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
276 #define GL_DEPTH_STENCIL 0x84F9
277 #define GL_UNSIGNED_INT_24_8 0x84FA
278 #define GL_DEPTH24_STENCIL8 0x88F0
279 #define GL_READ_FRAMEBUFFER 0x8CA8
280 #define GL_DRAW_FRAMEBUFFER 0x8CA9
281 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
282 #define GL_COLOR_ATTACHMENT0 0x8CE0
283 #define GL_COLOR_ATTACHMENT1 0x8CE1
284 #define GL_DEPTH_ATTACHMENT 0x8D00
285 #define GL_STENCIL_ATTACHMENT 0x8D20
286 #define GL_FRAMEBUFFER 0x8D40
287 #define GL_RENDERBUFFER 0x8D41
288 typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
289 typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
290 typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
291 typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
292 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
293 typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
294 typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
295 typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
296 typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
297 typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
298 typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
299 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
300 #endif
301 
302 // GL_EXT_framebuffer_object
303 extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer_;
304 extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers_;
305 extern PFNGLGENFRAMEBUFFERSPROC glGenRenderbuffers_;
306 extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage_;
307 extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus_;
308 extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer_;
309 extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers_;
310 extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers_;
311 extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D_;
312 extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer_;
313 extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap_;
314 
315 // GL_EXT_framebuffer_blit
316 extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer_;
317 
318 // GL_ARB_texture_rg
319 #ifndef GL_ARB_texture_rg
320 #define GL_ARB_texture_rg 1
321 #define GL_RG 0x8227
322 #define GL_RG_INTEGER 0x8228
323 #define GL_R8 0x8229
324 #define GL_R16 0x822A
325 #define GL_RG8 0x822B
326 #define GL_RG16 0x822C
327 #define GL_R16F 0x822D
328 #define GL_R32F 0x822E
329 #define GL_RG16F 0x822F
330 #define GL_RG32F 0x8230
331 #define GL_R8I 0x8231
332 #define GL_R8UI 0x8232
333 #define GL_R16I 0x8233
334 #define GL_R16UI 0x8234
335 #define GL_R32I 0x8235
336 #define GL_R32UI 0x8236
337 #define GL_RG8I 0x8237
338 #define GL_RG8UI 0x8238
339 #define GL_RG16I 0x8239
340 #define GL_RG16UI 0x823A
341 #define GL_RG32I 0x823B
342 #define GL_RG32UI 0x823C
343 #endif
344 
345 // GL_ARB_map_buffer_range
346 #ifndef GL_ARB_map_buffer_range
347 #define GL_MAP_READ_BIT 0x0001
348 #define GL_MAP_WRITE_BIT 0x0002
349 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
350 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
351 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
352 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
353 typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
354 typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
355 #endif
357 extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange_;
358 
359 #ifndef GL_ARB_uniform_buffer_object
360 #define GL_ARB_uniform_buffer_object 1
361 #define GL_UNIFORM_BUFFER 0x8A11
362 #define GL_UNIFORM_BUFFER_BINDING 0x8A28
363 #define GL_UNIFORM_BUFFER_START 0x8A29
364 #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
365 #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
366 #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
367 #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
368 #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
369 #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
370 #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
371 #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
372 #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
373 #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
374 #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
375 #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
376 #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
377 #define GL_UNIFORM_TYPE 0x8A37
378 #define GL_UNIFORM_SIZE 0x8A38
379 #define GL_UNIFORM_NAME_LENGTH 0x8A39
380 #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
381 #define GL_UNIFORM_OFFSET 0x8A3B
382 #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
383 #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
384 #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
385 #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
386 #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
387 #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
388 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
389 #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
390 #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
391 #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
392 #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
393 #define GL_INVALID_INDEX 0xFFFFFFFFu
394 
395 typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
396 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
397 typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
398 typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
399 typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
400 #endif
401 
402 #ifndef GL_INVALID_INDEX
403 #define GL_INVALID_INDEX 0xFFFFFFFFu
404 #endif
405 
406 #ifndef GL_VERSION_3_0
407 #define GL_VERSION_3_0 1
408 #define GL_RGBA32F 0x8814
409 #define GL_RGB32F 0x8815
410 #define GL_RGBA16F 0x881A
411 #define GL_RGB16F 0x881B
412 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
413 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
414 #elif GL_GLEXT_VERSION < 43
415 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
416 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
417 #endif
418 
419 #ifndef GL_VERSION_3_1
420 #define GL_VERSION_3_1 1
421 #define GL_TEXTURE_RECTANGLE 0x84F5
422 #endif
423 
424 // GL_ARB_uniform_buffer_object
425 extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices_;
426 extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv_;
427 extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex_;
428 extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv_;
429 extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding_;
430 extern PFNGLBINDBUFFERBASEPROC glBindBufferBase_;
431 extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange_;
432 
433 // GL_ARB_vertex_array_objext
434 #ifndef GL_ARB_vertex_array_object
435 #define GL_ARB_vertex_array_object 1
436 #define GL_VERTEX_ARRAY_BINDING 0x85B5
437 typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
438 typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
439 typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
440 typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
441 #endif
442 extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray_;
443 extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays_;
444 extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays_;
445 extern PFNGLISVERTEXARRAYPROC glIsVertexArray_;
PFNGLUSEPROGRAMPROC glUseProgram_
Definition: rendergl.cpp:141
PFNGLUNIFORM3FPROC glUniform3f_
Definition: rendergl.cpp:155
PFNGLVERTEXATTRIB1SVPROC glVertexAttrib1sv_
Definition: rendergl.cpp:180
typedef void(APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location
PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer_
Definition: rendergl.cpp:230
PFNGLVERTEXATTRIB4SVPROC glVertexAttrib4sv_
Definition: rendergl.cpp:192
GLuint framebuffer
Definition: glexts.hpp:292
PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray_
Definition: rendergl.cpp:174
PFNGLVERTEXATTRIB3SPROC glVertexAttrib3s_
Definition: rendergl.cpp:187
GLuint GLuint buffer
Definition: glexts.hpp:412
GLuint renderbuffer
Definition: glexts.hpp:288
PFNGLBINDBUFFERRANGEPROC glBindBufferRange_
Definition: rendergl.cpp:239
const GLuint * framebuffers
Definition: glexts.hpp:293
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)
PFNGLUNIFORM2IVPROC glUniform2iv_
Definition: rendergl.cpp:166
PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog_
Definition: rendergl.cpp:149
GLenum GLsizei GLsizei height
Definition: glexts.hpp:291
PFNGLDELETEPROGRAMPROC glDeleteProgram_
Definition: rendergl.cpp:140
PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate_
Definition: rendergl.cpp:116
GLint GLint srcX1
Definition: glexts.hpp:299
PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers_
Definition: rendergl.cpp:218
PFNGLGENQUERIESPROC glGenQueries_
Definition: rendergl.cpp:131
PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv_
Definition: rendergl.cpp:190
#define glActiveTexture_
OpenGL extension checks: check whether certain features are available for your graphics-hardware/plat...
Definition: glexts.hpp:10
const GLchar * uniformBlockName
Definition: glexts.hpp:397
PFNGLVERTEXATTRIB4NUBVPROC glVertexAttrib4Nubv_
Definition: rendergl.cpp:201
PFNGLVERTEXATTRIB4NBVPROC glVertexAttrib4Nbv_
Definition: rendergl.cpp:198
PFNGLGENVERTEXARRAYSPROC glGenVertexArrays_
Definition: rendergl.cpp:248
PFNGLMAPBUFFERRANGEPROC glMapBufferRange_
Definition: rendergl.cpp:242
PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate_
Definition: rendergl.cpp:117
PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog_
Definition: rendergl.cpp:150
PFNGLUNIFORM3IVPROC glUniform3iv_
Definition: rendergl.cpp:167
PFNGLUNIFORM2IPROC glUniform2i_
Definition: rendergl.cpp:162
GLintptr GLsizeiptr length
Definition: glexts.hpp:354
PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding_
Definition: rendergl.cpp:237
GLenum GLenum textarget
Definition: glexts.hpp:296
PFNGLATTACHSHADERPROC glAttachShader_
Definition: rendergl.cpp:148
PFNGLVERTEXATTRIB4SPROC glVertexAttrib4s_
Definition: rendergl.cpp:191
PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv_
Definition: rendergl.cpp:186
PFNGLGETQUERYIVPROC glGetQueryiv_
Definition: rendergl.cpp:135
GLenum GLsizei width
Definition: glexts.hpp:291
GLint GLint GLint GLint dstX0
Definition: glexts.hpp:299
PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_
Definition: rendergl.cpp:170
PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate_
Definition: rendergl.cpp:119
PFNGLVERTEXATTRIB3SVPROC glVertexAttrib3sv_
Definition: rendergl.cpp:188
#define glCompressedTexSubImage1D_
Definition: glexts.hpp:24
PFNGLUNIFORM2FPROC glUniform2f_
Definition: rendergl.cpp:154
PFNGLDELETEBUFFERSPROC glDeleteBuffers_
Definition: rendergl.cpp:128
#define glCompressedTexImage2D_
Definition: glexts.hpp:20
PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray_
Definition: rendergl.cpp:175
PFNGLMAPBUFFERPROC glMapBuffer_
Definition: rendergl.cpp:124
PFNGLGENERATEMIPMAPPROC glGenerateMipmap_
Definition: rendergl.cpp:227
#define glCompressedTexImage1D_
Definition: glexts.hpp:21
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
Definition: glexts.hpp:299
PFNGLVERTEXATTRIB4NUSVPROC glVertexAttrib4Nusv_
Definition: rendergl.cpp:203
PFNGLUNIFORM4IVPROC glUniform4iv_
Definition: rendergl.cpp:168
PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_
Definition: rendergl.cpp:171
GLvoid *APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
Definition: glexts.hpp:353
PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_
Definition: rendergl.cpp:169
PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays_
Definition: rendergl.cpp:247
PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv_
Definition: rendergl.cpp:206
PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv_
Definition: rendergl.cpp:210
PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv_
Definition: rendergl.cpp:207
PFNGLCREATEPROGRAMPROC glCreateProgram_
Definition: rendergl.cpp:139
PFNGLBINDVERTEXARRAYPROC glBindVertexArray_
Definition: rendergl.cpp:246
PFNGLGETSHADERIVPROC glGetShaderiv_
Definition: rendergl.cpp:146
PFNGLVERTEXATTRIB4BVPROC glVertexAttrib4bv_
Definition: rendergl.cpp:193
PFNGLUNMAPBUFFERPROC glUnmapBuffer_
Definition: rendergl.cpp:125
typedef GLboolean(APIENTRYP PFNGLISVERTEXARRAYPROC)(GLuint array)
typedef GLuint(APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program
GLint GLint GLint srcY1
Definition: glexts.hpp:299
PFNGLGETUNIFORMINDICESPROC glGetUniformIndices_
Definition: rendergl.cpp:233
PFNGLBUFFERSUBDATAPROC glBufferSubData_
Definition: rendergl.cpp:127
PFNGLGENBUFFERSPROC glGenBuffers_
Definition: rendergl.cpp:122
GLsizei uniformCount
Definition: glexts.hpp:395
PFNGLBINDBUFFERPROC glBindBuffer_
Definition: rendergl.cpp:123
PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f_
Definition: rendergl.cpp:177
PFNGLUNIFORM1FPROC glUniform1f_
Definition: rendergl.cpp:153
GLuint index
Definition: glexts.hpp:412
PFNGLUNIFORM3IPROC glUniform3i_
Definition: rendergl.cpp:163
GLsizei const GLuint GLenum GLint * params
Definition: glexts.hpp:396
PFNGLUNIFORM2FVPROC glUniform2fv_
Definition: rendergl.cpp:158
PFNGLUNIFORM1FVPROC glUniform1fv_
Definition: rendergl.cpp:157
PFNGLVERTEXATTRIB2SPROC glVertexAttrib2s_
Definition: rendergl.cpp:183
PFNGLUNIFORM1IPROC glUniform1i_
Definition: rendergl.cpp:161
PFNGLDELETESHADERPROC glDeleteShader_
Definition: rendergl.cpp:143
GLsizei const GLchar GLuint * uniformIndices
Definition: glexts.hpp:395
GLsizei GLboolean transpose
Definition: glexts.hpp:57
PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation_
Definition: rendergl.cpp:152
PFNGLGETPROGRAMIVPROC glGetProgramiv_
Definition: rendergl.cpp:147
#define glDrawRangeElements_
Definition: glexts.hpp:27
PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate_
Definition: rendergl.cpp:120
PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate_
Definition: rendergl.cpp:118
PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer_
Definition: rendergl.cpp:226
PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers_
Definition: rendergl.cpp:223
PFNGLVERTEXATTRIB2SVPROC glVertexAttrib2sv_
Definition: rendergl.cpp:184
PFNGLBUFFERDATAPROC glBufferData_
Definition: rendergl.cpp:126
PFNGLCOMPILESHADERPROC glCompileShader_
Definition: rendergl.cpp:145
GLuint GLuint uniformBlockBinding
Definition: glexts.hpp:399
GLenum GLenum renderbuffertarget
Definition: glexts.hpp:297
PFNGLISVERTEXARRAYPROC glIsVertexArray_
Definition: rendergl.cpp:249
PFNGLUNIFORM4FVPROC glUniform4fv_
Definition: rendergl.cpp:160
PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements_
Definition: rendergl.cpp:114
PFNGLUNIFORM4FPROC glUniform4f_
Definition: rendergl.cpp:156
PFNGLENDQUERYPROC glEndQuery_
Definition: rendergl.cpp:134
const GLuint * arrays
Definition: glexts.hpp:438
PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays_
Definition: rendergl.cpp:113
PFNGLLINKPROGRAMPROC glLinkProgram_
Definition: rendergl.cpp:151
PFNGLSHADERSOURCEPROC glShaderSource_
Definition: rendergl.cpp:144
PFNGLGETQUERYOBJECTIVPROC glGetQueryObjectiv_
Definition: rendergl.cpp:136
PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv_
Definition: rendergl.cpp:182
PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer_
Definition: rendergl.cpp:222
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: glexts.hpp:299
GLint GLint GLint GLint GLint dstY0
Definition: glexts.hpp:299
PFNGLVERTEXATTRIB4NUIVPROC glVertexAttrib4Nuiv_
Definition: rendergl.cpp:202
PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f_
Definition: rendergl.cpp:189
GLsizei const GLchar ** uniformNames
Definition: glexts.hpp:395
PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex_
Definition: rendergl.cpp:235
PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv_
Definition: rendergl.cpp:208
PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D_
Definition: rendergl.cpp:225
GLuint GLuint GLintptr GLsizeiptr size
Definition: glexts.hpp:412
GLintptr offset
Definition: glexts.hpp:354
PFNGLGETBUFFERSUBDATAPROC glGetBufferSubData_
Definition: rendergl.cpp:129
PFNGLVERTEXATTRIB4NUBPROC glVertexAttrib4Nub_
Definition: rendergl.cpp:200
GLsizei GLboolean const GLfloat * value
Definition: glexts.hpp:57
GLenum GLenum GLuint GLint level
Definition: glexts.hpp:296
PFNGLVERTEXATTRIB4NIVPROC glVertexAttrib4Niv_
Definition: rendergl.cpp:199
PFNGLUNIFORM1IVPROC glUniform1iv_
Definition: rendergl.cpp:165
#define glGetCompressedTexImage_
Definition: glexts.hpp:25
const GLuint * renderbuffers
Definition: glexts.hpp:289
PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus_
Definition: rendergl.cpp:221
GLsizei const GLuint GLenum pname
Definition: glexts.hpp:396
#define glBlendColor_
Definition: glexts.hpp:13
PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv_
Definition: rendergl.cpp:209
PFNGLVERTEXATTRIB4UBVPROC glVertexAttrib4ubv_
Definition: rendergl.cpp:195
GLsizei count
Definition: glexts.hpp:57
PFNGLCREATESHADERPROC glCreateShader_
Definition: rendergl.cpp:142
PFNGLBINDBUFFERBASEPROC glBindBufferBase_
Definition: rendergl.cpp:238
#define glTexImage3D_
Definition: glexts.hpp:15
GLuint uniformBlockIndex
Definition: glexts.hpp:398
PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f_
Definition: rendergl.cpp:185
PFNGLVERTEXATTRIB4USVPROC glVertexAttrib4usv_
Definition: rendergl.cpp:197
PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv_
Definition: rendergl.cpp:178
GLint GLint GLint GLint GLint GLint dstX1
Definition: glexts.hpp:299
PFNGLUNIFORM3FVPROC glUniform3fv_
Definition: rendergl.cpp:159
GLint GLint GLint GLint GLint GLint GLint dstY1
Definition: glexts.hpp:299
#define glCompressedTexSubImage2D_
Definition: glexts.hpp:23
#define glBlendEquation_
Definition: glexts.hpp:12
PFNGLVERTEXATTRIB4UIVPROC glVertexAttrib4uiv_
Definition: rendergl.cpp:196
#define glCompressedTexSubImage3D_
Definition: glexts.hpp:22
PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation_
Definition: rendergl.cpp:172
PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform_
Definition: rendergl.cpp:173
PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv_
Definition: rendergl.cpp:234
PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange_
Definition: rendergl.cpp:243
PFNGLGENFRAMEBUFFERSPROC glGenRenderbuffers_
Definition: rendergl.cpp:219
GLint srcY0
Definition: glexts.hpp:299
PFNGLVERTEXATTRIB4IVPROC glVertexAttrib4iv_
Definition: rendergl.cpp:194
PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage_
Definition: rendergl.cpp:220
PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv_
Definition: rendergl.cpp:137
GLenum GLenum GLuint texture
Definition: glexts.hpp:296
PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers_
Definition: rendergl.cpp:224
bool target(fpsent *d, aistate &b, int pursue=0, bool force=false, float mindist=0.f)
Definition: ai.cpp:393
PFNGLBEGINQUERYPROC glBeginQuery_
Definition: rendergl.cpp:133
#define glTexSubImage3D_
Definition: glexts.hpp:16
PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer_
Definition: rendergl.cpp:204
PFNGLVERTEXATTRIB1SPROC glVertexAttrib1s_
Definition: rendergl.cpp:179
#define glCompressedTexImage3D_
Definition: glexts.hpp:19
PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv_
Definition: rendergl.cpp:211
PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f_
Definition: rendergl.cpp:181
PFNGLDRAWBUFFERSPROC glDrawBuffers_
Definition: rendergl.cpp:213
PFNGLUNIFORM4IPROC glUniform4i_
Definition: rendergl.cpp:164
#define glCopyTexSubImage3D_
Definition: glexts.hpp:17
PFNGLDELETEQUERIESPROC glDeleteQueries_
Definition: rendergl.cpp:132
PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer_
Definition: rendergl.cpp:217
PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv_
Definition: rendergl.cpp:236
GLenum attachment
Definition: glexts.hpp:296
GLenum internalformat
Definition: glexts.hpp:291