opengl-bindings 1.2.6 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +13 -4
- data/lib/opengl_command.rb +10 -10
- data/lib/opengl_es.rb +7 -0
- data/lib/opengl_es_command.rb +1733 -0
- data/lib/opengl_es_enum.rb +616 -0
- data/lib/opengl_es_ext.rb +4 -0
- data/lib/opengl_es_ext_command.rb +2238 -0
- data/lib/opengl_es_ext_enum.rb +1074 -0
- data/lib/opengl_ext.rb +1 -30
- data/lib/opengl_ext_command.rb +54 -2
- data/lib/opengl_ext_common.rb +29 -0
- data/lib/opengl_ext_enum.rb +17 -0
- data/sample/report_env.rb +2 -1
- data/sample/report_env_es.rb +22 -0
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809f563881dbc01b1a6c611438549b627f09692b
|
4
|
+
data.tar.gz: 26283ccf3c37567bb3510464e11559f172a0d8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c82e802142c908146facc92286e6e5697d33fde88d93a4526ef7ff12b11c1fb9fb0621ef12254310f33cef0c676b1a615754da5cc11a8aa48e36bbce33cbd4aa
|
7
|
+
data.tar.gz: b23c640e6078cfadd99fa62596078520398372a6b7fb1b6af002fb0494be2c6eac3df4d0d58586859d6d7565467af7f926872b02a85df380b83d0a0bb8f5cbb2
|
data/ChangeLog
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
2013-11-02 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* opengl_es.rb: Aded OpenGL ES 2.0/3.0 support.
|
4
|
+
* sample/GLES: Aded.
|
5
|
+
* opengl_command.rb, opengl_ext_command.rb, opengl_ext_enum.rb: Updated using latest gl.xml.
|
6
|
+
|
1
7
|
2013-10-20 vaiorabbit <https://twitter.com/vaiorabbit>
|
2
8
|
|
3
9
|
* glut.rb (:GLUTPassiveMotionFunc): Fixed signature definition (Thanks: Дмитрий Краснов).
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
...and wrapper code generator.
|
6
6
|
|
7
7
|
* Created : 2013-08-28
|
8
|
-
* Last modified : 2013-
|
8
|
+
* Last modified : 2013-11-02
|
9
9
|
|
10
10
|
|
11
11
|
## Features ##
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
* Uses Khronos XML API registry
|
17
17
|
* The command/enum wrapper codes are generated via 'gl.xml'
|
18
|
-
* Supports OpenGL 1.0 - 4.4, and all OpenGL extensions.
|
18
|
+
* Supports OpenGL 1.0 - 4.4, OpenGL ES 2.0/3.0 and all OpenGL extensions.
|
19
19
|
|
20
20
|
|
21
21
|
## How to install ##
|
@@ -46,9 +46,14 @@ https://github.com/vaiorabbit/ruby-opengl
|
|
46
46
|
* 'opengl_platform.rb' : Provies platform check funcitions (OpneGL.get_platform).
|
47
47
|
* 'opengl_windows.rb' : Provies funcitions for Windows platform (wglGetProcAddress).
|
48
48
|
|
49
|
+
* 'opengl_es.rb' is almost the same with 'opengl.rb', except for including 'opengl_es_command.rb' and 'opengl_es_enum.rb'.
|
50
|
+
|
49
51
|
* 'opengl_ext.rb' includes these scripts:
|
50
52
|
* 'opengl_ext_command.rb' : OpenGL extension command wrapper. Generated via generator/generate_ext_command.rb.
|
51
53
|
* 'opengl_ext_enum.rb' : OpenGL extension enum wrapper Generated via generator/generate_ext_enum.rb.
|
54
|
+
* 'opengl_ext_common.rb' : Provies utilitiy funcitions.
|
55
|
+
|
56
|
+
* 'opengl_es_ext.rb' is almost the same with 'opengl_ext.rb', except for including 'opengl_es_ext_command.rb' and 'opengl_es_ext_enum.rb'.
|
52
57
|
|
53
58
|
* 'glfw.rb'
|
54
59
|
* My handwirtten GLFW wrapper.
|
@@ -129,7 +134,7 @@ https://github.com/vaiorabbit/ruby-opengl
|
|
129
134
|
|
130
135
|
* (This library)
|
131
136
|
|
132
|
-
tex_names_buf = '
|
137
|
+
tex_names_buf = ' ' # String instance that is enough to catch texture names (integer).
|
133
138
|
glGenTextures( 2, tex_names_buf )
|
134
139
|
tex_name = tex_names_buf.unpack('L2')[0]
|
135
140
|
|
@@ -213,10 +218,14 @@ https://github.com/vaiorabbit/ruby-opengl
|
|
213
218
|
* 'opengl_platform.rb' : 動作プラットフォームの判別機能を提供しています (OpneGL.get_platform)。
|
214
219
|
* 'opengl_windows.rb' : Windows用の機能を提供しています (wglGetProcAddress)。
|
215
220
|
|
221
|
+
* 'opengl_es.rb' は 'opengl_es_command.rb' と 'opengl_es_enum.rb' を取り込む以外は 'opengl.rb' と同じです。
|
222
|
+
|
216
223
|
* 'opengl_ext.rb' を require することで下記のスクリプトを取り込みます:
|
217
224
|
* 'opengl_ext_command.rb' : OpenGL 拡張関数のラッパーコード。 generator/generate_ext_command.rb で自動生成されたものです。
|
218
225
|
* 'opengl_ext_enum.rb' : OpenGL 拡張enumのラッパーコード。 generator/generate_ext_enum.rb で自動生成されたものです。
|
219
226
|
|
227
|
+
* 'opengl_es_ext.rb' は 'opengl_es_ext_command.rb' と 'opengl_es_ext_enum.rb' を取り込む以外は 'opengl_ext.rb' と同じです。
|
228
|
+
|
220
229
|
* 'glfw.rb'
|
221
230
|
* GLFW のラッパーコードです(自動生成ではありません)。
|
222
231
|
|
@@ -296,7 +305,7 @@ https://github.com/vaiorabbit/ruby-opengl
|
|
296
305
|
|
297
306
|
* (このライブラリの場合)
|
298
307
|
|
299
|
-
tex_names_buf = '
|
308
|
+
tex_names_buf = ' ' # テクスチャ名(GLuint)を受け取るのに十分なサイズ String インスタンスであればOK
|
300
309
|
glGenTextures( 2, tex_names_buf )
|
301
310
|
tex_name = tex_names_buf.unpack('L2')[0]
|
302
311
|
|
data/lib/opengl_command.rb
CHANGED
@@ -248,16 +248,16 @@ module OpenGL
|
|
248
248
|
|
249
249
|
GL_FUNCTIONS_ARGS_MAP[:glGetBooleanv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
250
250
|
GL_FUNCTIONS_RETVAL_MAP[:glGetBooleanv] = Fiddle::TYPE_VOID
|
251
|
-
def glGetBooleanv(_pname_,
|
251
|
+
def glGetBooleanv(_pname_, _data_)
|
252
252
|
f = OpenGL::get_command(:glGetBooleanv)
|
253
|
-
f.call(_pname_,
|
253
|
+
f.call(_pname_, _data_)
|
254
254
|
end
|
255
255
|
|
256
256
|
GL_FUNCTIONS_ARGS_MAP[:glGetDoublev] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
257
257
|
GL_FUNCTIONS_RETVAL_MAP[:glGetDoublev] = Fiddle::TYPE_VOID
|
258
|
-
def glGetDoublev(_pname_,
|
258
|
+
def glGetDoublev(_pname_, _data_)
|
259
259
|
f = OpenGL::get_command(:glGetDoublev)
|
260
|
-
f.call(_pname_,
|
260
|
+
f.call(_pname_, _data_)
|
261
261
|
end
|
262
262
|
|
263
263
|
GL_FUNCTIONS_ARGS_MAP[:glGetError] = []
|
@@ -269,16 +269,16 @@ module OpenGL
|
|
269
269
|
|
270
270
|
GL_FUNCTIONS_ARGS_MAP[:glGetFloatv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
271
271
|
GL_FUNCTIONS_RETVAL_MAP[:glGetFloatv] = Fiddle::TYPE_VOID
|
272
|
-
def glGetFloatv(_pname_,
|
272
|
+
def glGetFloatv(_pname_, _data_)
|
273
273
|
f = OpenGL::get_command(:glGetFloatv)
|
274
|
-
f.call(_pname_,
|
274
|
+
f.call(_pname_, _data_)
|
275
275
|
end
|
276
276
|
|
277
277
|
GL_FUNCTIONS_ARGS_MAP[:glGetIntegerv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
278
278
|
GL_FUNCTIONS_RETVAL_MAP[:glGetIntegerv] = Fiddle::TYPE_VOID
|
279
|
-
def glGetIntegerv(_pname_,
|
279
|
+
def glGetIntegerv(_pname_, _data_)
|
280
280
|
f = OpenGL::get_command(:glGetIntegerv)
|
281
|
-
f.call(_pname_,
|
281
|
+
f.call(_pname_, _data_)
|
282
282
|
end
|
283
283
|
|
284
284
|
GL_FUNCTIONS_ARGS_MAP[:glGetString] = [-Fiddle::TYPE_INT]
|
@@ -4609,9 +4609,9 @@ module OpenGL
|
|
4609
4609
|
|
4610
4610
|
GL_FUNCTIONS_ARGS_MAP[:glGetInteger64v] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
4611
4611
|
GL_FUNCTIONS_RETVAL_MAP[:glGetInteger64v] = Fiddle::TYPE_VOID
|
4612
|
-
def glGetInteger64v(_pname_,
|
4612
|
+
def glGetInteger64v(_pname_, _data_)
|
4613
4613
|
f = OpenGL::get_command(:glGetInteger64v)
|
4614
|
-
f.call(_pname_,
|
4614
|
+
f.call(_pname_, _data_)
|
4615
4615
|
end
|
4616
4616
|
|
4617
4617
|
GL_FUNCTIONS_ARGS_MAP[:glGetSynciv] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
data/lib/opengl_es.rb
ADDED
@@ -0,0 +1,1733 @@
|
|
1
|
+
# opengl-bindings
|
2
|
+
# * http://rubygems.org/gems/opengl-bindings
|
3
|
+
# * http://github.com/vaiorabbit/ruby-opengl
|
4
|
+
#
|
5
|
+
# [NOTICE] This is an automatically generated file.
|
6
|
+
|
7
|
+
require 'fiddle'
|
8
|
+
|
9
|
+
module OpenGL
|
10
|
+
|
11
|
+
GL_FUNCTIONS_ARGS_MAP[:glActiveTexture] = [-Fiddle::TYPE_INT]
|
12
|
+
GL_FUNCTIONS_RETVAL_MAP[:glActiveTexture] = Fiddle::TYPE_VOID
|
13
|
+
def glActiveTexture(_texture_)
|
14
|
+
f = OpenGL::get_command(:glActiveTexture)
|
15
|
+
f.call(_texture_)
|
16
|
+
end
|
17
|
+
|
18
|
+
GL_FUNCTIONS_ARGS_MAP[:glAttachShader] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
19
|
+
GL_FUNCTIONS_RETVAL_MAP[:glAttachShader] = Fiddle::TYPE_VOID
|
20
|
+
def glAttachShader(_program_, _shader_)
|
21
|
+
f = OpenGL::get_command(:glAttachShader)
|
22
|
+
f.call(_program_, _shader_)
|
23
|
+
end
|
24
|
+
|
25
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindAttribLocation] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
26
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindAttribLocation] = Fiddle::TYPE_VOID
|
27
|
+
def glBindAttribLocation(_program_, _index_, _name_)
|
28
|
+
f = OpenGL::get_command(:glBindAttribLocation)
|
29
|
+
f.call(_program_, _index_, _name_)
|
30
|
+
end
|
31
|
+
|
32
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindBuffer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
33
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindBuffer] = Fiddle::TYPE_VOID
|
34
|
+
def glBindBuffer(_target_, _buffer_)
|
35
|
+
f = OpenGL::get_command(:glBindBuffer)
|
36
|
+
f.call(_target_, _buffer_)
|
37
|
+
end
|
38
|
+
|
39
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindFramebuffer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
40
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindFramebuffer] = Fiddle::TYPE_VOID
|
41
|
+
def glBindFramebuffer(_target_, _framebuffer_)
|
42
|
+
f = OpenGL::get_command(:glBindFramebuffer)
|
43
|
+
f.call(_target_, _framebuffer_)
|
44
|
+
end
|
45
|
+
|
46
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindRenderbuffer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
47
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindRenderbuffer] = Fiddle::TYPE_VOID
|
48
|
+
def glBindRenderbuffer(_target_, _renderbuffer_)
|
49
|
+
f = OpenGL::get_command(:glBindRenderbuffer)
|
50
|
+
f.call(_target_, _renderbuffer_)
|
51
|
+
end
|
52
|
+
|
53
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindTexture] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
54
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindTexture] = Fiddle::TYPE_VOID
|
55
|
+
def glBindTexture(_target_, _texture_)
|
56
|
+
f = OpenGL::get_command(:glBindTexture)
|
57
|
+
f.call(_target_, _texture_)
|
58
|
+
end
|
59
|
+
|
60
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlendColor] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
61
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlendColor] = Fiddle::TYPE_VOID
|
62
|
+
def glBlendColor(_red_, _green_, _blue_, _alpha_)
|
63
|
+
f = OpenGL::get_command(:glBlendColor)
|
64
|
+
f.call(_red_, _green_, _blue_, _alpha_)
|
65
|
+
end
|
66
|
+
|
67
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlendEquation] = [-Fiddle::TYPE_INT]
|
68
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlendEquation] = Fiddle::TYPE_VOID
|
69
|
+
def glBlendEquation(_mode_)
|
70
|
+
f = OpenGL::get_command(:glBlendEquation)
|
71
|
+
f.call(_mode_)
|
72
|
+
end
|
73
|
+
|
74
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlendEquationSeparate] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
75
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlendEquationSeparate] = Fiddle::TYPE_VOID
|
76
|
+
def glBlendEquationSeparate(_modeRGB_, _modeAlpha_)
|
77
|
+
f = OpenGL::get_command(:glBlendEquationSeparate)
|
78
|
+
f.call(_modeRGB_, _modeAlpha_)
|
79
|
+
end
|
80
|
+
|
81
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlendFunc] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
82
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlendFunc] = Fiddle::TYPE_VOID
|
83
|
+
def glBlendFunc(_sfactor_, _dfactor_)
|
84
|
+
f = OpenGL::get_command(:glBlendFunc)
|
85
|
+
f.call(_sfactor_, _dfactor_)
|
86
|
+
end
|
87
|
+
|
88
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlendFuncSeparate] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
89
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlendFuncSeparate] = Fiddle::TYPE_VOID
|
90
|
+
def glBlendFuncSeparate(_sfactorRGB_, _dfactorRGB_, _sfactorAlpha_, _dfactorAlpha_)
|
91
|
+
f = OpenGL::get_command(:glBlendFuncSeparate)
|
92
|
+
f.call(_sfactorRGB_, _dfactorRGB_, _sfactorAlpha_, _dfactorAlpha_)
|
93
|
+
end
|
94
|
+
|
95
|
+
GL_FUNCTIONS_ARGS_MAP[:glBufferData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
|
96
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBufferData] = Fiddle::TYPE_VOID
|
97
|
+
def glBufferData(_target_, _size_, _data_, _usage_)
|
98
|
+
f = OpenGL::get_command(:glBufferData)
|
99
|
+
f.call(_target_, _size_, _data_, _usage_)
|
100
|
+
end
|
101
|
+
|
102
|
+
GL_FUNCTIONS_ARGS_MAP[:glBufferSubData] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_VOIDP]
|
103
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBufferSubData] = Fiddle::TYPE_VOID
|
104
|
+
def glBufferSubData(_target_, _offset_, _size_, _data_)
|
105
|
+
f = OpenGL::get_command(:glBufferSubData)
|
106
|
+
f.call(_target_, _offset_, _size_, _data_)
|
107
|
+
end
|
108
|
+
|
109
|
+
GL_FUNCTIONS_ARGS_MAP[:glCheckFramebufferStatus] = [-Fiddle::TYPE_INT]
|
110
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCheckFramebufferStatus] = -Fiddle::TYPE_INT
|
111
|
+
def glCheckFramebufferStatus(_target_)
|
112
|
+
f = OpenGL::get_command(:glCheckFramebufferStatus)
|
113
|
+
f.call(_target_)
|
114
|
+
end
|
115
|
+
|
116
|
+
GL_FUNCTIONS_ARGS_MAP[:glClear] = [-Fiddle::TYPE_INT]
|
117
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClear] = Fiddle::TYPE_VOID
|
118
|
+
def glClear(_mask_)
|
119
|
+
f = OpenGL::get_command(:glClear)
|
120
|
+
f.call(_mask_)
|
121
|
+
end
|
122
|
+
|
123
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearColor] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
124
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearColor] = Fiddle::TYPE_VOID
|
125
|
+
def glClearColor(_red_, _green_, _blue_, _alpha_)
|
126
|
+
f = OpenGL::get_command(:glClearColor)
|
127
|
+
f.call(_red_, _green_, _blue_, _alpha_)
|
128
|
+
end
|
129
|
+
|
130
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearDepthf] = [Fiddle::TYPE_FLOAT]
|
131
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearDepthf] = Fiddle::TYPE_VOID
|
132
|
+
def glClearDepthf(_d_)
|
133
|
+
f = OpenGL::get_command(:glClearDepthf)
|
134
|
+
f.call(_d_)
|
135
|
+
end
|
136
|
+
|
137
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearStencil] = [Fiddle::TYPE_INT]
|
138
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearStencil] = Fiddle::TYPE_VOID
|
139
|
+
def glClearStencil(_s_)
|
140
|
+
f = OpenGL::get_command(:glClearStencil)
|
141
|
+
f.call(_s_)
|
142
|
+
end
|
143
|
+
|
144
|
+
GL_FUNCTIONS_ARGS_MAP[:glColorMask] = [-Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR, -Fiddle::TYPE_CHAR]
|
145
|
+
GL_FUNCTIONS_RETVAL_MAP[:glColorMask] = Fiddle::TYPE_VOID
|
146
|
+
def glColorMask(_red_, _green_, _blue_, _alpha_)
|
147
|
+
f = OpenGL::get_command(:glColorMask)
|
148
|
+
f.call(_red_, _green_, _blue_, _alpha_)
|
149
|
+
end
|
150
|
+
|
151
|
+
GL_FUNCTIONS_ARGS_MAP[:glCompileShader] = [-Fiddle::TYPE_INT]
|
152
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCompileShader] = Fiddle::TYPE_VOID
|
153
|
+
def glCompileShader(_shader_)
|
154
|
+
f = OpenGL::get_command(:glCompileShader)
|
155
|
+
f.call(_shader_)
|
156
|
+
end
|
157
|
+
|
158
|
+
GL_FUNCTIONS_ARGS_MAP[:glCompressedTexImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
159
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCompressedTexImage2D] = Fiddle::TYPE_VOID
|
160
|
+
def glCompressedTexImage2D(_target_, _level_, _internalformat_, _width_, _height_, _border_, _imageSize_, _data_)
|
161
|
+
f = OpenGL::get_command(:glCompressedTexImage2D)
|
162
|
+
f.call(_target_, _level_, _internalformat_, _width_, _height_, _border_, _imageSize_, _data_)
|
163
|
+
end
|
164
|
+
|
165
|
+
GL_FUNCTIONS_ARGS_MAP[:glCompressedTexSubImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
166
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCompressedTexSubImage2D] = Fiddle::TYPE_VOID
|
167
|
+
def glCompressedTexSubImage2D(_target_, _level_, _xoffset_, _yoffset_, _width_, _height_, _format_, _imageSize_, _data_)
|
168
|
+
f = OpenGL::get_command(:glCompressedTexSubImage2D)
|
169
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _width_, _height_, _format_, _imageSize_, _data_)
|
170
|
+
end
|
171
|
+
|
172
|
+
GL_FUNCTIONS_ARGS_MAP[:glCopyTexImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
173
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCopyTexImage2D] = Fiddle::TYPE_VOID
|
174
|
+
def glCopyTexImage2D(_target_, _level_, _internalformat_, _x_, _y_, _width_, _height_, _border_)
|
175
|
+
f = OpenGL::get_command(:glCopyTexImage2D)
|
176
|
+
f.call(_target_, _level_, _internalformat_, _x_, _y_, _width_, _height_, _border_)
|
177
|
+
end
|
178
|
+
|
179
|
+
GL_FUNCTIONS_ARGS_MAP[:glCopyTexSubImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
180
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCopyTexSubImage2D] = Fiddle::TYPE_VOID
|
181
|
+
def glCopyTexSubImage2D(_target_, _level_, _xoffset_, _yoffset_, _x_, _y_, _width_, _height_)
|
182
|
+
f = OpenGL::get_command(:glCopyTexSubImage2D)
|
183
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _x_, _y_, _width_, _height_)
|
184
|
+
end
|
185
|
+
|
186
|
+
GL_FUNCTIONS_ARGS_MAP[:glCreateProgram] = []
|
187
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCreateProgram] = -Fiddle::TYPE_INT
|
188
|
+
def glCreateProgram()
|
189
|
+
f = OpenGL::get_command(:glCreateProgram)
|
190
|
+
f.call()
|
191
|
+
end
|
192
|
+
|
193
|
+
GL_FUNCTIONS_ARGS_MAP[:glCreateShader] = [-Fiddle::TYPE_INT]
|
194
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCreateShader] = -Fiddle::TYPE_INT
|
195
|
+
def glCreateShader(_type_)
|
196
|
+
f = OpenGL::get_command(:glCreateShader)
|
197
|
+
f.call(_type_)
|
198
|
+
end
|
199
|
+
|
200
|
+
GL_FUNCTIONS_ARGS_MAP[:glCullFace] = [-Fiddle::TYPE_INT]
|
201
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCullFace] = Fiddle::TYPE_VOID
|
202
|
+
def glCullFace(_mode_)
|
203
|
+
f = OpenGL::get_command(:glCullFace)
|
204
|
+
f.call(_mode_)
|
205
|
+
end
|
206
|
+
|
207
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteBuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
208
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteBuffers] = Fiddle::TYPE_VOID
|
209
|
+
def glDeleteBuffers(_n_, _buffers_)
|
210
|
+
f = OpenGL::get_command(:glDeleteBuffers)
|
211
|
+
f.call(_n_, _buffers_)
|
212
|
+
end
|
213
|
+
|
214
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteFramebuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
215
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteFramebuffers] = Fiddle::TYPE_VOID
|
216
|
+
def glDeleteFramebuffers(_n_, _framebuffers_)
|
217
|
+
f = OpenGL::get_command(:glDeleteFramebuffers)
|
218
|
+
f.call(_n_, _framebuffers_)
|
219
|
+
end
|
220
|
+
|
221
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteProgram] = [-Fiddle::TYPE_INT]
|
222
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteProgram] = Fiddle::TYPE_VOID
|
223
|
+
def glDeleteProgram(_program_)
|
224
|
+
f = OpenGL::get_command(:glDeleteProgram)
|
225
|
+
f.call(_program_)
|
226
|
+
end
|
227
|
+
|
228
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteRenderbuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
229
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteRenderbuffers] = Fiddle::TYPE_VOID
|
230
|
+
def glDeleteRenderbuffers(_n_, _renderbuffers_)
|
231
|
+
f = OpenGL::get_command(:glDeleteRenderbuffers)
|
232
|
+
f.call(_n_, _renderbuffers_)
|
233
|
+
end
|
234
|
+
|
235
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteShader] = [-Fiddle::TYPE_INT]
|
236
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteShader] = Fiddle::TYPE_VOID
|
237
|
+
def glDeleteShader(_shader_)
|
238
|
+
f = OpenGL::get_command(:glDeleteShader)
|
239
|
+
f.call(_shader_)
|
240
|
+
end
|
241
|
+
|
242
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteTextures] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
243
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteTextures] = Fiddle::TYPE_VOID
|
244
|
+
def glDeleteTextures(_n_, _textures_)
|
245
|
+
f = OpenGL::get_command(:glDeleteTextures)
|
246
|
+
f.call(_n_, _textures_)
|
247
|
+
end
|
248
|
+
|
249
|
+
GL_FUNCTIONS_ARGS_MAP[:glDepthFunc] = [-Fiddle::TYPE_INT]
|
250
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDepthFunc] = Fiddle::TYPE_VOID
|
251
|
+
def glDepthFunc(_func_)
|
252
|
+
f = OpenGL::get_command(:glDepthFunc)
|
253
|
+
f.call(_func_)
|
254
|
+
end
|
255
|
+
|
256
|
+
GL_FUNCTIONS_ARGS_MAP[:glDepthMask] = [-Fiddle::TYPE_CHAR]
|
257
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDepthMask] = Fiddle::TYPE_VOID
|
258
|
+
def glDepthMask(_flag_)
|
259
|
+
f = OpenGL::get_command(:glDepthMask)
|
260
|
+
f.call(_flag_)
|
261
|
+
end
|
262
|
+
|
263
|
+
GL_FUNCTIONS_ARGS_MAP[:glDepthRangef] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
264
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDepthRangef] = Fiddle::TYPE_VOID
|
265
|
+
def glDepthRangef(_n_, _f_)
|
266
|
+
f = OpenGL::get_command(:glDepthRangef)
|
267
|
+
f.call(_n_, _f_)
|
268
|
+
end
|
269
|
+
|
270
|
+
GL_FUNCTIONS_ARGS_MAP[:glDetachShader] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
271
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDetachShader] = Fiddle::TYPE_VOID
|
272
|
+
def glDetachShader(_program_, _shader_)
|
273
|
+
f = OpenGL::get_command(:glDetachShader)
|
274
|
+
f.call(_program_, _shader_)
|
275
|
+
end
|
276
|
+
|
277
|
+
GL_FUNCTIONS_ARGS_MAP[:glDisable] = [-Fiddle::TYPE_INT]
|
278
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDisable] = Fiddle::TYPE_VOID
|
279
|
+
def glDisable(_cap_)
|
280
|
+
f = OpenGL::get_command(:glDisable)
|
281
|
+
f.call(_cap_)
|
282
|
+
end
|
283
|
+
|
284
|
+
GL_FUNCTIONS_ARGS_MAP[:glDisableVertexAttribArray] = [-Fiddle::TYPE_INT]
|
285
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDisableVertexAttribArray] = Fiddle::TYPE_VOID
|
286
|
+
def glDisableVertexAttribArray(_index_)
|
287
|
+
f = OpenGL::get_command(:glDisableVertexAttribArray)
|
288
|
+
f.call(_index_)
|
289
|
+
end
|
290
|
+
|
291
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawArrays] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
292
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawArrays] = Fiddle::TYPE_VOID
|
293
|
+
def glDrawArrays(_mode_, _first_, _count_)
|
294
|
+
f = OpenGL::get_command(:glDrawArrays)
|
295
|
+
f.call(_mode_, _first_, _count_)
|
296
|
+
end
|
297
|
+
|
298
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawElements] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
299
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawElements] = Fiddle::TYPE_VOID
|
300
|
+
def glDrawElements(_mode_, _count_, _type_, _indices_)
|
301
|
+
f = OpenGL::get_command(:glDrawElements)
|
302
|
+
f.call(_mode_, _count_, _type_, _indices_)
|
303
|
+
end
|
304
|
+
|
305
|
+
GL_FUNCTIONS_ARGS_MAP[:glEnable] = [-Fiddle::TYPE_INT]
|
306
|
+
GL_FUNCTIONS_RETVAL_MAP[:glEnable] = Fiddle::TYPE_VOID
|
307
|
+
def glEnable(_cap_)
|
308
|
+
f = OpenGL::get_command(:glEnable)
|
309
|
+
f.call(_cap_)
|
310
|
+
end
|
311
|
+
|
312
|
+
GL_FUNCTIONS_ARGS_MAP[:glEnableVertexAttribArray] = [-Fiddle::TYPE_INT]
|
313
|
+
GL_FUNCTIONS_RETVAL_MAP[:glEnableVertexAttribArray] = Fiddle::TYPE_VOID
|
314
|
+
def glEnableVertexAttribArray(_index_)
|
315
|
+
f = OpenGL::get_command(:glEnableVertexAttribArray)
|
316
|
+
f.call(_index_)
|
317
|
+
end
|
318
|
+
|
319
|
+
GL_FUNCTIONS_ARGS_MAP[:glFinish] = []
|
320
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFinish] = Fiddle::TYPE_VOID
|
321
|
+
def glFinish()
|
322
|
+
f = OpenGL::get_command(:glFinish)
|
323
|
+
f.call()
|
324
|
+
end
|
325
|
+
|
326
|
+
GL_FUNCTIONS_ARGS_MAP[:glFlush] = []
|
327
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFlush] = Fiddle::TYPE_VOID
|
328
|
+
def glFlush()
|
329
|
+
f = OpenGL::get_command(:glFlush)
|
330
|
+
f.call()
|
331
|
+
end
|
332
|
+
|
333
|
+
GL_FUNCTIONS_ARGS_MAP[:glFramebufferRenderbuffer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
334
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFramebufferRenderbuffer] = Fiddle::TYPE_VOID
|
335
|
+
def glFramebufferRenderbuffer(_target_, _attachment_, _renderbuffertarget_, _renderbuffer_)
|
336
|
+
f = OpenGL::get_command(:glFramebufferRenderbuffer)
|
337
|
+
f.call(_target_, _attachment_, _renderbuffertarget_, _renderbuffer_)
|
338
|
+
end
|
339
|
+
|
340
|
+
GL_FUNCTIONS_ARGS_MAP[:glFramebufferTexture2D] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
341
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTexture2D] = Fiddle::TYPE_VOID
|
342
|
+
def glFramebufferTexture2D(_target_, _attachment_, _textarget_, _texture_, _level_)
|
343
|
+
f = OpenGL::get_command(:glFramebufferTexture2D)
|
344
|
+
f.call(_target_, _attachment_, _textarget_, _texture_, _level_)
|
345
|
+
end
|
346
|
+
|
347
|
+
GL_FUNCTIONS_ARGS_MAP[:glFrontFace] = [-Fiddle::TYPE_INT]
|
348
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFrontFace] = Fiddle::TYPE_VOID
|
349
|
+
def glFrontFace(_mode_)
|
350
|
+
f = OpenGL::get_command(:glFrontFace)
|
351
|
+
f.call(_mode_)
|
352
|
+
end
|
353
|
+
|
354
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenBuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
355
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenBuffers] = Fiddle::TYPE_VOID
|
356
|
+
def glGenBuffers(_n_, _buffers_)
|
357
|
+
f = OpenGL::get_command(:glGenBuffers)
|
358
|
+
f.call(_n_, _buffers_)
|
359
|
+
end
|
360
|
+
|
361
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenerateMipmap] = [-Fiddle::TYPE_INT]
|
362
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenerateMipmap] = Fiddle::TYPE_VOID
|
363
|
+
def glGenerateMipmap(_target_)
|
364
|
+
f = OpenGL::get_command(:glGenerateMipmap)
|
365
|
+
f.call(_target_)
|
366
|
+
end
|
367
|
+
|
368
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenFramebuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
369
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenFramebuffers] = Fiddle::TYPE_VOID
|
370
|
+
def glGenFramebuffers(_n_, _framebuffers_)
|
371
|
+
f = OpenGL::get_command(:glGenFramebuffers)
|
372
|
+
f.call(_n_, _framebuffers_)
|
373
|
+
end
|
374
|
+
|
375
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenRenderbuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
376
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenRenderbuffers] = Fiddle::TYPE_VOID
|
377
|
+
def glGenRenderbuffers(_n_, _renderbuffers_)
|
378
|
+
f = OpenGL::get_command(:glGenRenderbuffers)
|
379
|
+
f.call(_n_, _renderbuffers_)
|
380
|
+
end
|
381
|
+
|
382
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenTextures] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
383
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenTextures] = Fiddle::TYPE_VOID
|
384
|
+
def glGenTextures(_n_, _textures_)
|
385
|
+
f = OpenGL::get_command(:glGenTextures)
|
386
|
+
f.call(_n_, _textures_)
|
387
|
+
end
|
388
|
+
|
389
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetActiveAttrib] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
390
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveAttrib] = Fiddle::TYPE_VOID
|
391
|
+
def glGetActiveAttrib(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
392
|
+
f = OpenGL::get_command(:glGetActiveAttrib)
|
393
|
+
f.call(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
394
|
+
end
|
395
|
+
|
396
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetActiveUniform] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
397
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveUniform] = Fiddle::TYPE_VOID
|
398
|
+
def glGetActiveUniform(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
399
|
+
f = OpenGL::get_command(:glGetActiveUniform)
|
400
|
+
f.call(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
401
|
+
end
|
402
|
+
|
403
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetAttachedShaders] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
404
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetAttachedShaders] = Fiddle::TYPE_VOID
|
405
|
+
def glGetAttachedShaders(_program_, _maxCount_, _count_, _shaders_)
|
406
|
+
f = OpenGL::get_command(:glGetAttachedShaders)
|
407
|
+
f.call(_program_, _maxCount_, _count_, _shaders_)
|
408
|
+
end
|
409
|
+
|
410
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetAttribLocation] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
411
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetAttribLocation] = Fiddle::TYPE_INT
|
412
|
+
def glGetAttribLocation(_program_, _name_)
|
413
|
+
f = OpenGL::get_command(:glGetAttribLocation)
|
414
|
+
f.call(_program_, _name_)
|
415
|
+
end
|
416
|
+
|
417
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetBooleanv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
418
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetBooleanv] = Fiddle::TYPE_VOID
|
419
|
+
def glGetBooleanv(_pname_, _data_)
|
420
|
+
f = OpenGL::get_command(:glGetBooleanv)
|
421
|
+
f.call(_pname_, _data_)
|
422
|
+
end
|
423
|
+
|
424
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetBufferParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
425
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetBufferParameteriv] = Fiddle::TYPE_VOID
|
426
|
+
def glGetBufferParameteriv(_target_, _pname_, _params_)
|
427
|
+
f = OpenGL::get_command(:glGetBufferParameteriv)
|
428
|
+
f.call(_target_, _pname_, _params_)
|
429
|
+
end
|
430
|
+
|
431
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetError] = []
|
432
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetError] = -Fiddle::TYPE_INT
|
433
|
+
def glGetError()
|
434
|
+
f = OpenGL::get_command(:glGetError)
|
435
|
+
f.call()
|
436
|
+
end
|
437
|
+
|
438
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetFloatv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
439
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetFloatv] = Fiddle::TYPE_VOID
|
440
|
+
def glGetFloatv(_pname_, _data_)
|
441
|
+
f = OpenGL::get_command(:glGetFloatv)
|
442
|
+
f.call(_pname_, _data_)
|
443
|
+
end
|
444
|
+
|
445
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetFramebufferAttachmentParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
446
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetFramebufferAttachmentParameteriv] = Fiddle::TYPE_VOID
|
447
|
+
def glGetFramebufferAttachmentParameteriv(_target_, _attachment_, _pname_, _params_)
|
448
|
+
f = OpenGL::get_command(:glGetFramebufferAttachmentParameteriv)
|
449
|
+
f.call(_target_, _attachment_, _pname_, _params_)
|
450
|
+
end
|
451
|
+
|
452
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetIntegerv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
453
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetIntegerv] = Fiddle::TYPE_VOID
|
454
|
+
def glGetIntegerv(_pname_, _data_)
|
455
|
+
f = OpenGL::get_command(:glGetIntegerv)
|
456
|
+
f.call(_pname_, _data_)
|
457
|
+
end
|
458
|
+
|
459
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetProgramiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
460
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramiv] = Fiddle::TYPE_VOID
|
461
|
+
def glGetProgramiv(_program_, _pname_, _params_)
|
462
|
+
f = OpenGL::get_command(:glGetProgramiv)
|
463
|
+
f.call(_program_, _pname_, _params_)
|
464
|
+
end
|
465
|
+
|
466
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetProgramInfoLog] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
467
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramInfoLog] = Fiddle::TYPE_VOID
|
468
|
+
def glGetProgramInfoLog(_program_, _bufSize_, _length_, _infoLog_)
|
469
|
+
f = OpenGL::get_command(:glGetProgramInfoLog)
|
470
|
+
f.call(_program_, _bufSize_, _length_, _infoLog_)
|
471
|
+
end
|
472
|
+
|
473
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetRenderbufferParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
474
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetRenderbufferParameteriv] = Fiddle::TYPE_VOID
|
475
|
+
def glGetRenderbufferParameteriv(_target_, _pname_, _params_)
|
476
|
+
f = OpenGL::get_command(:glGetRenderbufferParameteriv)
|
477
|
+
f.call(_target_, _pname_, _params_)
|
478
|
+
end
|
479
|
+
|
480
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetShaderiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
481
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetShaderiv] = Fiddle::TYPE_VOID
|
482
|
+
def glGetShaderiv(_shader_, _pname_, _params_)
|
483
|
+
f = OpenGL::get_command(:glGetShaderiv)
|
484
|
+
f.call(_shader_, _pname_, _params_)
|
485
|
+
end
|
486
|
+
|
487
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetShaderInfoLog] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
488
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetShaderInfoLog] = Fiddle::TYPE_VOID
|
489
|
+
def glGetShaderInfoLog(_shader_, _bufSize_, _length_, _infoLog_)
|
490
|
+
f = OpenGL::get_command(:glGetShaderInfoLog)
|
491
|
+
f.call(_shader_, _bufSize_, _length_, _infoLog_)
|
492
|
+
end
|
493
|
+
|
494
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetShaderPrecisionFormat] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
495
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetShaderPrecisionFormat] = Fiddle::TYPE_VOID
|
496
|
+
def glGetShaderPrecisionFormat(_shadertype_, _precisiontype_, _range_, _precision_)
|
497
|
+
f = OpenGL::get_command(:glGetShaderPrecisionFormat)
|
498
|
+
f.call(_shadertype_, _precisiontype_, _range_, _precision_)
|
499
|
+
end
|
500
|
+
|
501
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetShaderSource] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
502
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetShaderSource] = Fiddle::TYPE_VOID
|
503
|
+
def glGetShaderSource(_shader_, _bufSize_, _length_, _source_)
|
504
|
+
f = OpenGL::get_command(:glGetShaderSource)
|
505
|
+
f.call(_shader_, _bufSize_, _length_, _source_)
|
506
|
+
end
|
507
|
+
|
508
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetString] = [-Fiddle::TYPE_INT]
|
509
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetString] = Fiddle::TYPE_VOIDP
|
510
|
+
def glGetString(_name_)
|
511
|
+
f = OpenGL::get_command(:glGetString)
|
512
|
+
f.call(_name_)
|
513
|
+
end
|
514
|
+
|
515
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetTexParameterfv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
516
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetTexParameterfv] = Fiddle::TYPE_VOID
|
517
|
+
def glGetTexParameterfv(_target_, _pname_, _params_)
|
518
|
+
f = OpenGL::get_command(:glGetTexParameterfv)
|
519
|
+
f.call(_target_, _pname_, _params_)
|
520
|
+
end
|
521
|
+
|
522
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetTexParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
523
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetTexParameteriv] = Fiddle::TYPE_VOID
|
524
|
+
def glGetTexParameteriv(_target_, _pname_, _params_)
|
525
|
+
f = OpenGL::get_command(:glGetTexParameteriv)
|
526
|
+
f.call(_target_, _pname_, _params_)
|
527
|
+
end
|
528
|
+
|
529
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformfv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
530
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformfv] = Fiddle::TYPE_VOID
|
531
|
+
def glGetUniformfv(_program_, _location_, _params_)
|
532
|
+
f = OpenGL::get_command(:glGetUniformfv)
|
533
|
+
f.call(_program_, _location_, _params_)
|
534
|
+
end
|
535
|
+
|
536
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
537
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformiv] = Fiddle::TYPE_VOID
|
538
|
+
def glGetUniformiv(_program_, _location_, _params_)
|
539
|
+
f = OpenGL::get_command(:glGetUniformiv)
|
540
|
+
f.call(_program_, _location_, _params_)
|
541
|
+
end
|
542
|
+
|
543
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformLocation] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
544
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformLocation] = Fiddle::TYPE_INT
|
545
|
+
def glGetUniformLocation(_program_, _name_)
|
546
|
+
f = OpenGL::get_command(:glGetUniformLocation)
|
547
|
+
f.call(_program_, _name_)
|
548
|
+
end
|
549
|
+
|
550
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetVertexAttribfv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
551
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetVertexAttribfv] = Fiddle::TYPE_VOID
|
552
|
+
def glGetVertexAttribfv(_index_, _pname_, _params_)
|
553
|
+
f = OpenGL::get_command(:glGetVertexAttribfv)
|
554
|
+
f.call(_index_, _pname_, _params_)
|
555
|
+
end
|
556
|
+
|
557
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetVertexAttribiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
558
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetVertexAttribiv] = Fiddle::TYPE_VOID
|
559
|
+
def glGetVertexAttribiv(_index_, _pname_, _params_)
|
560
|
+
f = OpenGL::get_command(:glGetVertexAttribiv)
|
561
|
+
f.call(_index_, _pname_, _params_)
|
562
|
+
end
|
563
|
+
|
564
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetVertexAttribPointerv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
565
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetVertexAttribPointerv] = Fiddle::TYPE_VOID
|
566
|
+
def glGetVertexAttribPointerv(_index_, _pname_, _pointer_)
|
567
|
+
f = OpenGL::get_command(:glGetVertexAttribPointerv)
|
568
|
+
f.call(_index_, _pname_, _pointer_)
|
569
|
+
end
|
570
|
+
|
571
|
+
GL_FUNCTIONS_ARGS_MAP[:glHint] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
572
|
+
GL_FUNCTIONS_RETVAL_MAP[:glHint] = Fiddle::TYPE_VOID
|
573
|
+
def glHint(_target_, _mode_)
|
574
|
+
f = OpenGL::get_command(:glHint)
|
575
|
+
f.call(_target_, _mode_)
|
576
|
+
end
|
577
|
+
|
578
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsBuffer] = [-Fiddle::TYPE_INT]
|
579
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsBuffer] = -Fiddle::TYPE_CHAR
|
580
|
+
def glIsBuffer(_buffer_)
|
581
|
+
f = OpenGL::get_command(:glIsBuffer)
|
582
|
+
f.call(_buffer_)
|
583
|
+
end
|
584
|
+
|
585
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsEnabled] = [-Fiddle::TYPE_INT]
|
586
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsEnabled] = -Fiddle::TYPE_CHAR
|
587
|
+
def glIsEnabled(_cap_)
|
588
|
+
f = OpenGL::get_command(:glIsEnabled)
|
589
|
+
f.call(_cap_)
|
590
|
+
end
|
591
|
+
|
592
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsFramebuffer] = [-Fiddle::TYPE_INT]
|
593
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsFramebuffer] = -Fiddle::TYPE_CHAR
|
594
|
+
def glIsFramebuffer(_framebuffer_)
|
595
|
+
f = OpenGL::get_command(:glIsFramebuffer)
|
596
|
+
f.call(_framebuffer_)
|
597
|
+
end
|
598
|
+
|
599
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsProgram] = [-Fiddle::TYPE_INT]
|
600
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsProgram] = -Fiddle::TYPE_CHAR
|
601
|
+
def glIsProgram(_program_)
|
602
|
+
f = OpenGL::get_command(:glIsProgram)
|
603
|
+
f.call(_program_)
|
604
|
+
end
|
605
|
+
|
606
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsRenderbuffer] = [-Fiddle::TYPE_INT]
|
607
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsRenderbuffer] = -Fiddle::TYPE_CHAR
|
608
|
+
def glIsRenderbuffer(_renderbuffer_)
|
609
|
+
f = OpenGL::get_command(:glIsRenderbuffer)
|
610
|
+
f.call(_renderbuffer_)
|
611
|
+
end
|
612
|
+
|
613
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsShader] = [-Fiddle::TYPE_INT]
|
614
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsShader] = -Fiddle::TYPE_CHAR
|
615
|
+
def glIsShader(_shader_)
|
616
|
+
f = OpenGL::get_command(:glIsShader)
|
617
|
+
f.call(_shader_)
|
618
|
+
end
|
619
|
+
|
620
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsTexture] = [-Fiddle::TYPE_INT]
|
621
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsTexture] = -Fiddle::TYPE_CHAR
|
622
|
+
def glIsTexture(_texture_)
|
623
|
+
f = OpenGL::get_command(:glIsTexture)
|
624
|
+
f.call(_texture_)
|
625
|
+
end
|
626
|
+
|
627
|
+
GL_FUNCTIONS_ARGS_MAP[:glLineWidth] = [Fiddle::TYPE_FLOAT]
|
628
|
+
GL_FUNCTIONS_RETVAL_MAP[:glLineWidth] = Fiddle::TYPE_VOID
|
629
|
+
def glLineWidth(_width_)
|
630
|
+
f = OpenGL::get_command(:glLineWidth)
|
631
|
+
f.call(_width_)
|
632
|
+
end
|
633
|
+
|
634
|
+
GL_FUNCTIONS_ARGS_MAP[:glLinkProgram] = [-Fiddle::TYPE_INT]
|
635
|
+
GL_FUNCTIONS_RETVAL_MAP[:glLinkProgram] = Fiddle::TYPE_VOID
|
636
|
+
def glLinkProgram(_program_)
|
637
|
+
f = OpenGL::get_command(:glLinkProgram)
|
638
|
+
f.call(_program_)
|
639
|
+
end
|
640
|
+
|
641
|
+
GL_FUNCTIONS_ARGS_MAP[:glPixelStorei] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
642
|
+
GL_FUNCTIONS_RETVAL_MAP[:glPixelStorei] = Fiddle::TYPE_VOID
|
643
|
+
def glPixelStorei(_pname_, _param_)
|
644
|
+
f = OpenGL::get_command(:glPixelStorei)
|
645
|
+
f.call(_pname_, _param_)
|
646
|
+
end
|
647
|
+
|
648
|
+
GL_FUNCTIONS_ARGS_MAP[:glPolygonOffset] = [Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
649
|
+
GL_FUNCTIONS_RETVAL_MAP[:glPolygonOffset] = Fiddle::TYPE_VOID
|
650
|
+
def glPolygonOffset(_factor_, _units_)
|
651
|
+
f = OpenGL::get_command(:glPolygonOffset)
|
652
|
+
f.call(_factor_, _units_)
|
653
|
+
end
|
654
|
+
|
655
|
+
GL_FUNCTIONS_ARGS_MAP[:glReadPixels] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
656
|
+
GL_FUNCTIONS_RETVAL_MAP[:glReadPixels] = Fiddle::TYPE_VOID
|
657
|
+
def glReadPixels(_x_, _y_, _width_, _height_, _format_, _type_, _pixels_)
|
658
|
+
f = OpenGL::get_command(:glReadPixels)
|
659
|
+
f.call(_x_, _y_, _width_, _height_, _format_, _type_, _pixels_)
|
660
|
+
end
|
661
|
+
|
662
|
+
GL_FUNCTIONS_ARGS_MAP[:glReleaseShaderCompiler] = []
|
663
|
+
GL_FUNCTIONS_RETVAL_MAP[:glReleaseShaderCompiler] = Fiddle::TYPE_VOID
|
664
|
+
def glReleaseShaderCompiler()
|
665
|
+
f = OpenGL::get_command(:glReleaseShaderCompiler)
|
666
|
+
f.call()
|
667
|
+
end
|
668
|
+
|
669
|
+
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorage] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
670
|
+
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorage] = Fiddle::TYPE_VOID
|
671
|
+
def glRenderbufferStorage(_target_, _internalformat_, _width_, _height_)
|
672
|
+
f = OpenGL::get_command(:glRenderbufferStorage)
|
673
|
+
f.call(_target_, _internalformat_, _width_, _height_)
|
674
|
+
end
|
675
|
+
|
676
|
+
GL_FUNCTIONS_ARGS_MAP[:glSampleCoverage] = [Fiddle::TYPE_FLOAT, -Fiddle::TYPE_CHAR]
|
677
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSampleCoverage] = Fiddle::TYPE_VOID
|
678
|
+
def glSampleCoverage(_value_, _invert_)
|
679
|
+
f = OpenGL::get_command(:glSampleCoverage)
|
680
|
+
f.call(_value_, _invert_)
|
681
|
+
end
|
682
|
+
|
683
|
+
GL_FUNCTIONS_ARGS_MAP[:glScissor] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
684
|
+
GL_FUNCTIONS_RETVAL_MAP[:glScissor] = Fiddle::TYPE_VOID
|
685
|
+
def glScissor(_x_, _y_, _width_, _height_)
|
686
|
+
f = OpenGL::get_command(:glScissor)
|
687
|
+
f.call(_x_, _y_, _width_, _height_)
|
688
|
+
end
|
689
|
+
|
690
|
+
GL_FUNCTIONS_ARGS_MAP[:glShaderBinary] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
|
691
|
+
GL_FUNCTIONS_RETVAL_MAP[:glShaderBinary] = Fiddle::TYPE_VOID
|
692
|
+
def glShaderBinary(_count_, _shaders_, _binaryformat_, _binary_, _length_)
|
693
|
+
f = OpenGL::get_command(:glShaderBinary)
|
694
|
+
f.call(_count_, _shaders_, _binaryformat_, _binary_, _length_)
|
695
|
+
end
|
696
|
+
|
697
|
+
GL_FUNCTIONS_ARGS_MAP[:glShaderSource] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
698
|
+
GL_FUNCTIONS_RETVAL_MAP[:glShaderSource] = Fiddle::TYPE_VOID
|
699
|
+
def glShaderSource(_shader_, _count_, _string_, _length_)
|
700
|
+
f = OpenGL::get_command(:glShaderSource)
|
701
|
+
f.call(_shader_, _count_, _string_, _length_)
|
702
|
+
end
|
703
|
+
|
704
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilFunc] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
705
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilFunc] = Fiddle::TYPE_VOID
|
706
|
+
def glStencilFunc(_func_, _ref_, _mask_)
|
707
|
+
f = OpenGL::get_command(:glStencilFunc)
|
708
|
+
f.call(_func_, _ref_, _mask_)
|
709
|
+
end
|
710
|
+
|
711
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilFuncSeparate] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
712
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilFuncSeparate] = Fiddle::TYPE_VOID
|
713
|
+
def glStencilFuncSeparate(_face_, _func_, _ref_, _mask_)
|
714
|
+
f = OpenGL::get_command(:glStencilFuncSeparate)
|
715
|
+
f.call(_face_, _func_, _ref_, _mask_)
|
716
|
+
end
|
717
|
+
|
718
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilMask] = [-Fiddle::TYPE_INT]
|
719
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilMask] = Fiddle::TYPE_VOID
|
720
|
+
def glStencilMask(_mask_)
|
721
|
+
f = OpenGL::get_command(:glStencilMask)
|
722
|
+
f.call(_mask_)
|
723
|
+
end
|
724
|
+
|
725
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilMaskSeparate] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
726
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilMaskSeparate] = Fiddle::TYPE_VOID
|
727
|
+
def glStencilMaskSeparate(_face_, _mask_)
|
728
|
+
f = OpenGL::get_command(:glStencilMaskSeparate)
|
729
|
+
f.call(_face_, _mask_)
|
730
|
+
end
|
731
|
+
|
732
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilOp] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
733
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilOp] = Fiddle::TYPE_VOID
|
734
|
+
def glStencilOp(_fail_, _zfail_, _zpass_)
|
735
|
+
f = OpenGL::get_command(:glStencilOp)
|
736
|
+
f.call(_fail_, _zfail_, _zpass_)
|
737
|
+
end
|
738
|
+
|
739
|
+
GL_FUNCTIONS_ARGS_MAP[:glStencilOpSeparate] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
740
|
+
GL_FUNCTIONS_RETVAL_MAP[:glStencilOpSeparate] = Fiddle::TYPE_VOID
|
741
|
+
def glStencilOpSeparate(_face_, _sfail_, _dpfail_, _dppass_)
|
742
|
+
f = OpenGL::get_command(:glStencilOpSeparate)
|
743
|
+
f.call(_face_, _sfail_, _dpfail_, _dppass_)
|
744
|
+
end
|
745
|
+
|
746
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
747
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexImage2D] = Fiddle::TYPE_VOID
|
748
|
+
def glTexImage2D(_target_, _level_, _internalformat_, _width_, _height_, _border_, _format_, _type_, _pixels_)
|
749
|
+
f = OpenGL::get_command(:glTexImage2D)
|
750
|
+
f.call(_target_, _level_, _internalformat_, _width_, _height_, _border_, _format_, _type_, _pixels_)
|
751
|
+
end
|
752
|
+
|
753
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexParameterf] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
|
754
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexParameterf] = Fiddle::TYPE_VOID
|
755
|
+
def glTexParameterf(_target_, _pname_, _param_)
|
756
|
+
f = OpenGL::get_command(:glTexParameterf)
|
757
|
+
f.call(_target_, _pname_, _param_)
|
758
|
+
end
|
759
|
+
|
760
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexParameterfv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
761
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexParameterfv] = Fiddle::TYPE_VOID
|
762
|
+
def glTexParameterfv(_target_, _pname_, _params_)
|
763
|
+
f = OpenGL::get_command(:glTexParameterfv)
|
764
|
+
f.call(_target_, _pname_, _params_)
|
765
|
+
end
|
766
|
+
|
767
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexParameteri] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
768
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexParameteri] = Fiddle::TYPE_VOID
|
769
|
+
def glTexParameteri(_target_, _pname_, _param_)
|
770
|
+
f = OpenGL::get_command(:glTexParameteri)
|
771
|
+
f.call(_target_, _pname_, _param_)
|
772
|
+
end
|
773
|
+
|
774
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
775
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexParameteriv] = Fiddle::TYPE_VOID
|
776
|
+
def glTexParameteriv(_target_, _pname_, _params_)
|
777
|
+
f = OpenGL::get_command(:glTexParameteriv)
|
778
|
+
f.call(_target_, _pname_, _params_)
|
779
|
+
end
|
780
|
+
|
781
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexSubImage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
782
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexSubImage2D] = Fiddle::TYPE_VOID
|
783
|
+
def glTexSubImage2D(_target_, _level_, _xoffset_, _yoffset_, _width_, _height_, _format_, _type_, _pixels_)
|
784
|
+
f = OpenGL::get_command(:glTexSubImage2D)
|
785
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _width_, _height_, _format_, _type_, _pixels_)
|
786
|
+
end
|
787
|
+
|
788
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1f] = [Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
|
789
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1f] = Fiddle::TYPE_VOID
|
790
|
+
def glUniform1f(_location_, _v0_)
|
791
|
+
f = OpenGL::get_command(:glUniform1f)
|
792
|
+
f.call(_location_, _v0_)
|
793
|
+
end
|
794
|
+
|
795
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
796
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1fv] = Fiddle::TYPE_VOID
|
797
|
+
def glUniform1fv(_location_, _count_, _value_)
|
798
|
+
f = OpenGL::get_command(:glUniform1fv)
|
799
|
+
f.call(_location_, _count_, _value_)
|
800
|
+
end
|
801
|
+
|
802
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1i] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
803
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1i] = Fiddle::TYPE_VOID
|
804
|
+
def glUniform1i(_location_, _v0_)
|
805
|
+
f = OpenGL::get_command(:glUniform1i)
|
806
|
+
f.call(_location_, _v0_)
|
807
|
+
end
|
808
|
+
|
809
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1iv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
810
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1iv] = Fiddle::TYPE_VOID
|
811
|
+
def glUniform1iv(_location_, _count_, _value_)
|
812
|
+
f = OpenGL::get_command(:glUniform1iv)
|
813
|
+
f.call(_location_, _count_, _value_)
|
814
|
+
end
|
815
|
+
|
816
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2f] = [Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
817
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2f] = Fiddle::TYPE_VOID
|
818
|
+
def glUniform2f(_location_, _v0_, _v1_)
|
819
|
+
f = OpenGL::get_command(:glUniform2f)
|
820
|
+
f.call(_location_, _v0_, _v1_)
|
821
|
+
end
|
822
|
+
|
823
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
824
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2fv] = Fiddle::TYPE_VOID
|
825
|
+
def glUniform2fv(_location_, _count_, _value_)
|
826
|
+
f = OpenGL::get_command(:glUniform2fv)
|
827
|
+
f.call(_location_, _count_, _value_)
|
828
|
+
end
|
829
|
+
|
830
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2i] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
831
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2i] = Fiddle::TYPE_VOID
|
832
|
+
def glUniform2i(_location_, _v0_, _v1_)
|
833
|
+
f = OpenGL::get_command(:glUniform2i)
|
834
|
+
f.call(_location_, _v0_, _v1_)
|
835
|
+
end
|
836
|
+
|
837
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2iv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
838
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2iv] = Fiddle::TYPE_VOID
|
839
|
+
def glUniform2iv(_location_, _count_, _value_)
|
840
|
+
f = OpenGL::get_command(:glUniform2iv)
|
841
|
+
f.call(_location_, _count_, _value_)
|
842
|
+
end
|
843
|
+
|
844
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3f] = [Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
845
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3f] = Fiddle::TYPE_VOID
|
846
|
+
def glUniform3f(_location_, _v0_, _v1_, _v2_)
|
847
|
+
f = OpenGL::get_command(:glUniform3f)
|
848
|
+
f.call(_location_, _v0_, _v1_, _v2_)
|
849
|
+
end
|
850
|
+
|
851
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
852
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3fv] = Fiddle::TYPE_VOID
|
853
|
+
def glUniform3fv(_location_, _count_, _value_)
|
854
|
+
f = OpenGL::get_command(:glUniform3fv)
|
855
|
+
f.call(_location_, _count_, _value_)
|
856
|
+
end
|
857
|
+
|
858
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3i] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
859
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3i] = Fiddle::TYPE_VOID
|
860
|
+
def glUniform3i(_location_, _v0_, _v1_, _v2_)
|
861
|
+
f = OpenGL::get_command(:glUniform3i)
|
862
|
+
f.call(_location_, _v0_, _v1_, _v2_)
|
863
|
+
end
|
864
|
+
|
865
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3iv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
866
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3iv] = Fiddle::TYPE_VOID
|
867
|
+
def glUniform3iv(_location_, _count_, _value_)
|
868
|
+
f = OpenGL::get_command(:glUniform3iv)
|
869
|
+
f.call(_location_, _count_, _value_)
|
870
|
+
end
|
871
|
+
|
872
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4f] = [Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
873
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4f] = Fiddle::TYPE_VOID
|
874
|
+
def glUniform4f(_location_, _v0_, _v1_, _v2_, _v3_)
|
875
|
+
f = OpenGL::get_command(:glUniform4f)
|
876
|
+
f.call(_location_, _v0_, _v1_, _v2_, _v3_)
|
877
|
+
end
|
878
|
+
|
879
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
880
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4fv] = Fiddle::TYPE_VOID
|
881
|
+
def glUniform4fv(_location_, _count_, _value_)
|
882
|
+
f = OpenGL::get_command(:glUniform4fv)
|
883
|
+
f.call(_location_, _count_, _value_)
|
884
|
+
end
|
885
|
+
|
886
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4i] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
887
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4i] = Fiddle::TYPE_VOID
|
888
|
+
def glUniform4i(_location_, _v0_, _v1_, _v2_, _v3_)
|
889
|
+
f = OpenGL::get_command(:glUniform4i)
|
890
|
+
f.call(_location_, _v0_, _v1_, _v2_, _v3_)
|
891
|
+
end
|
892
|
+
|
893
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4iv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
894
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4iv] = Fiddle::TYPE_VOID
|
895
|
+
def glUniform4iv(_location_, _count_, _value_)
|
896
|
+
f = OpenGL::get_command(:glUniform4iv)
|
897
|
+
f.call(_location_, _count_, _value_)
|
898
|
+
end
|
899
|
+
|
900
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix2fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
901
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix2fv] = Fiddle::TYPE_VOID
|
902
|
+
def glUniformMatrix2fv(_location_, _count_, _transpose_, _value_)
|
903
|
+
f = OpenGL::get_command(:glUniformMatrix2fv)
|
904
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
905
|
+
end
|
906
|
+
|
907
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix3fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
908
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix3fv] = Fiddle::TYPE_VOID
|
909
|
+
def glUniformMatrix3fv(_location_, _count_, _transpose_, _value_)
|
910
|
+
f = OpenGL::get_command(:glUniformMatrix3fv)
|
911
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
912
|
+
end
|
913
|
+
|
914
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix4fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
915
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix4fv] = Fiddle::TYPE_VOID
|
916
|
+
def glUniformMatrix4fv(_location_, _count_, _transpose_, _value_)
|
917
|
+
f = OpenGL::get_command(:glUniformMatrix4fv)
|
918
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
919
|
+
end
|
920
|
+
|
921
|
+
GL_FUNCTIONS_ARGS_MAP[:glUseProgram] = [-Fiddle::TYPE_INT]
|
922
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUseProgram] = Fiddle::TYPE_VOID
|
923
|
+
def glUseProgram(_program_)
|
924
|
+
f = OpenGL::get_command(:glUseProgram)
|
925
|
+
f.call(_program_)
|
926
|
+
end
|
927
|
+
|
928
|
+
GL_FUNCTIONS_ARGS_MAP[:glValidateProgram] = [-Fiddle::TYPE_INT]
|
929
|
+
GL_FUNCTIONS_RETVAL_MAP[:glValidateProgram] = Fiddle::TYPE_VOID
|
930
|
+
def glValidateProgram(_program_)
|
931
|
+
f = OpenGL::get_command(:glValidateProgram)
|
932
|
+
f.call(_program_)
|
933
|
+
end
|
934
|
+
|
935
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib1f] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
|
936
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib1f] = Fiddle::TYPE_VOID
|
937
|
+
def glVertexAttrib1f(_index_, _x_)
|
938
|
+
f = OpenGL::get_command(:glVertexAttrib1f)
|
939
|
+
f.call(_index_, _x_)
|
940
|
+
end
|
941
|
+
|
942
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib1fv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
943
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib1fv] = Fiddle::TYPE_VOID
|
944
|
+
def glVertexAttrib1fv(_index_, _v_)
|
945
|
+
f = OpenGL::get_command(:glVertexAttrib1fv)
|
946
|
+
f.call(_index_, _v_)
|
947
|
+
end
|
948
|
+
|
949
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib2f] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
950
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib2f] = Fiddle::TYPE_VOID
|
951
|
+
def glVertexAttrib2f(_index_, _x_, _y_)
|
952
|
+
f = OpenGL::get_command(:glVertexAttrib2f)
|
953
|
+
f.call(_index_, _x_, _y_)
|
954
|
+
end
|
955
|
+
|
956
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib2fv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
957
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib2fv] = Fiddle::TYPE_VOID
|
958
|
+
def glVertexAttrib2fv(_index_, _v_)
|
959
|
+
f = OpenGL::get_command(:glVertexAttrib2fv)
|
960
|
+
f.call(_index_, _v_)
|
961
|
+
end
|
962
|
+
|
963
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib3f] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
964
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib3f] = Fiddle::TYPE_VOID
|
965
|
+
def glVertexAttrib3f(_index_, _x_, _y_, _z_)
|
966
|
+
f = OpenGL::get_command(:glVertexAttrib3f)
|
967
|
+
f.call(_index_, _x_, _y_, _z_)
|
968
|
+
end
|
969
|
+
|
970
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib3fv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
971
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib3fv] = Fiddle::TYPE_VOID
|
972
|
+
def glVertexAttrib3fv(_index_, _v_)
|
973
|
+
f = OpenGL::get_command(:glVertexAttrib3fv)
|
974
|
+
f.call(_index_, _v_)
|
975
|
+
end
|
976
|
+
|
977
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib4f] = [-Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_FLOAT]
|
978
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib4f] = Fiddle::TYPE_VOID
|
979
|
+
def glVertexAttrib4f(_index_, _x_, _y_, _z_, _w_)
|
980
|
+
f = OpenGL::get_command(:glVertexAttrib4f)
|
981
|
+
f.call(_index_, _x_, _y_, _z_, _w_)
|
982
|
+
end
|
983
|
+
|
984
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttrib4fv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
985
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttrib4fv] = Fiddle::TYPE_VOID
|
986
|
+
def glVertexAttrib4fv(_index_, _v_)
|
987
|
+
f = OpenGL::get_command(:glVertexAttrib4fv)
|
988
|
+
f.call(_index_, _v_)
|
989
|
+
end
|
990
|
+
|
991
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribPointer] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
992
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribPointer] = Fiddle::TYPE_VOID
|
993
|
+
def glVertexAttribPointer(_index_, _size_, _type_, _normalized_, _stride_, _pointer_)
|
994
|
+
f = OpenGL::get_command(:glVertexAttribPointer)
|
995
|
+
f.call(_index_, _size_, _type_, _normalized_, _stride_, _pointer_)
|
996
|
+
end
|
997
|
+
|
998
|
+
GL_FUNCTIONS_ARGS_MAP[:glViewport] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
999
|
+
GL_FUNCTIONS_RETVAL_MAP[:glViewport] = Fiddle::TYPE_VOID
|
1000
|
+
def glViewport(_x_, _y_, _width_, _height_)
|
1001
|
+
f = OpenGL::get_command(:glViewport)
|
1002
|
+
f.call(_x_, _y_, _width_, _height_)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
GL_FUNCTIONS_ARGS_MAP[:glReadBuffer] = [-Fiddle::TYPE_INT]
|
1006
|
+
GL_FUNCTIONS_RETVAL_MAP[:glReadBuffer] = Fiddle::TYPE_VOID
|
1007
|
+
def glReadBuffer(_mode_)
|
1008
|
+
f = OpenGL::get_command(:glReadBuffer)
|
1009
|
+
f.call(_mode_)
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawRangeElements] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1013
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawRangeElements] = Fiddle::TYPE_VOID
|
1014
|
+
def glDrawRangeElements(_mode_, _start_, _end_, _count_, _type_, _indices_)
|
1015
|
+
f = OpenGL::get_command(:glDrawRangeElements)
|
1016
|
+
f.call(_mode_, _start_, _end_, _count_, _type_, _indices_)
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexImage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1020
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexImage3D] = Fiddle::TYPE_VOID
|
1021
|
+
def glTexImage3D(_target_, _level_, _internalformat_, _width_, _height_, _depth_, _border_, _format_, _type_, _pixels_)
|
1022
|
+
f = OpenGL::get_command(:glTexImage3D)
|
1023
|
+
f.call(_target_, _level_, _internalformat_, _width_, _height_, _depth_, _border_, _format_, _type_, _pixels_)
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexSubImage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1027
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexSubImage3D] = Fiddle::TYPE_VOID
|
1028
|
+
def glTexSubImage3D(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _format_, _type_, _pixels_)
|
1029
|
+
f = OpenGL::get_command(:glTexSubImage3D)
|
1030
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _format_, _type_, _pixels_)
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
GL_FUNCTIONS_ARGS_MAP[:glCopyTexSubImage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1034
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCopyTexSubImage3D] = Fiddle::TYPE_VOID
|
1035
|
+
def glCopyTexSubImage3D(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _x_, _y_, _width_, _height_)
|
1036
|
+
f = OpenGL::get_command(:glCopyTexSubImage3D)
|
1037
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _x_, _y_, _width_, _height_)
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
GL_FUNCTIONS_ARGS_MAP[:glCompressedTexImage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1041
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCompressedTexImage3D] = Fiddle::TYPE_VOID
|
1042
|
+
def glCompressedTexImage3D(_target_, _level_, _internalformat_, _width_, _height_, _depth_, _border_, _imageSize_, _data_)
|
1043
|
+
f = OpenGL::get_command(:glCompressedTexImage3D)
|
1044
|
+
f.call(_target_, _level_, _internalformat_, _width_, _height_, _depth_, _border_, _imageSize_, _data_)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
GL_FUNCTIONS_ARGS_MAP[:glCompressedTexSubImage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1048
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCompressedTexSubImage3D] = Fiddle::TYPE_VOID
|
1049
|
+
def glCompressedTexSubImage3D(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _format_, _imageSize_, _data_)
|
1050
|
+
f = OpenGL::get_command(:glCompressedTexSubImage3D)
|
1051
|
+
f.call(_target_, _level_, _xoffset_, _yoffset_, _zoffset_, _width_, _height_, _depth_, _format_, _imageSize_, _data_)
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenQueries] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1055
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenQueries] = Fiddle::TYPE_VOID
|
1056
|
+
def glGenQueries(_n_, _ids_)
|
1057
|
+
f = OpenGL::get_command(:glGenQueries)
|
1058
|
+
f.call(_n_, _ids_)
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteQueries] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1062
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteQueries] = Fiddle::TYPE_VOID
|
1063
|
+
def glDeleteQueries(_n_, _ids_)
|
1064
|
+
f = OpenGL::get_command(:glDeleteQueries)
|
1065
|
+
f.call(_n_, _ids_)
|
1066
|
+
end
|
1067
|
+
|
1068
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsQuery] = [-Fiddle::TYPE_INT]
|
1069
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsQuery] = -Fiddle::TYPE_CHAR
|
1070
|
+
def glIsQuery(_id_)
|
1071
|
+
f = OpenGL::get_command(:glIsQuery)
|
1072
|
+
f.call(_id_)
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
GL_FUNCTIONS_ARGS_MAP[:glBeginQuery] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1076
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBeginQuery] = Fiddle::TYPE_VOID
|
1077
|
+
def glBeginQuery(_target_, _id_)
|
1078
|
+
f = OpenGL::get_command(:glBeginQuery)
|
1079
|
+
f.call(_target_, _id_)
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
GL_FUNCTIONS_ARGS_MAP[:glEndQuery] = [-Fiddle::TYPE_INT]
|
1083
|
+
GL_FUNCTIONS_RETVAL_MAP[:glEndQuery] = Fiddle::TYPE_VOID
|
1084
|
+
def glEndQuery(_target_)
|
1085
|
+
f = OpenGL::get_command(:glEndQuery)
|
1086
|
+
f.call(_target_)
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1090
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryiv] = Fiddle::TYPE_VOID
|
1091
|
+
def glGetQueryiv(_target_, _pname_, _params_)
|
1092
|
+
f = OpenGL::get_command(:glGetQueryiv)
|
1093
|
+
f.call(_target_, _pname_, _params_)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetQueryObjectuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1097
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetQueryObjectuiv] = Fiddle::TYPE_VOID
|
1098
|
+
def glGetQueryObjectuiv(_id_, _pname_, _params_)
|
1099
|
+
f = OpenGL::get_command(:glGetQueryObjectuiv)
|
1100
|
+
f.call(_id_, _pname_, _params_)
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
GL_FUNCTIONS_ARGS_MAP[:glUnmapBuffer] = [-Fiddle::TYPE_INT]
|
1104
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUnmapBuffer] = -Fiddle::TYPE_CHAR
|
1105
|
+
def glUnmapBuffer(_target_)
|
1106
|
+
f = OpenGL::get_command(:glUnmapBuffer)
|
1107
|
+
f.call(_target_)
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetBufferPointerv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1111
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetBufferPointerv] = Fiddle::TYPE_VOID
|
1112
|
+
def glGetBufferPointerv(_target_, _pname_, _params_)
|
1113
|
+
f = OpenGL::get_command(:glGetBufferPointerv)
|
1114
|
+
f.call(_target_, _pname_, _params_)
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawBuffers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1118
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawBuffers] = Fiddle::TYPE_VOID
|
1119
|
+
def glDrawBuffers(_n_, _bufs_)
|
1120
|
+
f = OpenGL::get_command(:glDrawBuffers)
|
1121
|
+
f.call(_n_, _bufs_)
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix2x3fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1125
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix2x3fv] = Fiddle::TYPE_VOID
|
1126
|
+
def glUniformMatrix2x3fv(_location_, _count_, _transpose_, _value_)
|
1127
|
+
f = OpenGL::get_command(:glUniformMatrix2x3fv)
|
1128
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix3x2fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1132
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix3x2fv] = Fiddle::TYPE_VOID
|
1133
|
+
def glUniformMatrix3x2fv(_location_, _count_, _transpose_, _value_)
|
1134
|
+
f = OpenGL::get_command(:glUniformMatrix3x2fv)
|
1135
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix2x4fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1139
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix2x4fv] = Fiddle::TYPE_VOID
|
1140
|
+
def glUniformMatrix2x4fv(_location_, _count_, _transpose_, _value_)
|
1141
|
+
f = OpenGL::get_command(:glUniformMatrix2x4fv)
|
1142
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix4x2fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1146
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix4x2fv] = Fiddle::TYPE_VOID
|
1147
|
+
def glUniformMatrix4x2fv(_location_, _count_, _transpose_, _value_)
|
1148
|
+
f = OpenGL::get_command(:glUniformMatrix4x2fv)
|
1149
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix3x4fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1153
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix3x4fv] = Fiddle::TYPE_VOID
|
1154
|
+
def glUniformMatrix3x4fv(_location_, _count_, _transpose_, _value_)
|
1155
|
+
f = OpenGL::get_command(:glUniformMatrix3x4fv)
|
1156
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformMatrix4x3fv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_CHAR, Fiddle::TYPE_VOIDP]
|
1160
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformMatrix4x3fv] = Fiddle::TYPE_VOID
|
1161
|
+
def glUniformMatrix4x3fv(_location_, _count_, _transpose_, _value_)
|
1162
|
+
f = OpenGL::get_command(:glUniformMatrix4x3fv)
|
1163
|
+
f.call(_location_, _count_, _transpose_, _value_)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
GL_FUNCTIONS_ARGS_MAP[:glBlitFramebuffer] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1167
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBlitFramebuffer] = Fiddle::TYPE_VOID
|
1168
|
+
def glBlitFramebuffer(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
1169
|
+
f = OpenGL::get_command(:glBlitFramebuffer)
|
1170
|
+
f.call(_srcX0_, _srcY0_, _srcX1_, _srcY1_, _dstX0_, _dstY0_, _dstX1_, _dstY1_, _mask_, _filter_)
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
GL_FUNCTIONS_ARGS_MAP[:glRenderbufferStorageMultisample] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1174
|
+
GL_FUNCTIONS_RETVAL_MAP[:glRenderbufferStorageMultisample] = Fiddle::TYPE_VOID
|
1175
|
+
def glRenderbufferStorageMultisample(_target_, _samples_, _internalformat_, _width_, _height_)
|
1176
|
+
f = OpenGL::get_command(:glRenderbufferStorageMultisample)
|
1177
|
+
f.call(_target_, _samples_, _internalformat_, _width_, _height_)
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
GL_FUNCTIONS_ARGS_MAP[:glFramebufferTextureLayer] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1181
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTextureLayer] = Fiddle::TYPE_VOID
|
1182
|
+
def glFramebufferTextureLayer(_target_, _attachment_, _texture_, _level_, _layer_)
|
1183
|
+
f = OpenGL::get_command(:glFramebufferTextureLayer)
|
1184
|
+
f.call(_target_, _attachment_, _texture_, _level_, _layer_)
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
GL_FUNCTIONS_ARGS_MAP[:glMapBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, -Fiddle::TYPE_INT]
|
1188
|
+
GL_FUNCTIONS_RETVAL_MAP[:glMapBufferRange] = Fiddle::TYPE_VOIDP
|
1189
|
+
def glMapBufferRange(_target_, _offset_, _length_, _access_)
|
1190
|
+
f = OpenGL::get_command(:glMapBufferRange)
|
1191
|
+
f.call(_target_, _offset_, _length_, _access_)
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
GL_FUNCTIONS_ARGS_MAP[:glFlushMappedBufferRange] = [-Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
|
1195
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFlushMappedBufferRange] = Fiddle::TYPE_VOID
|
1196
|
+
def glFlushMappedBufferRange(_target_, _offset_, _length_)
|
1197
|
+
f = OpenGL::get_command(:glFlushMappedBufferRange)
|
1198
|
+
f.call(_target_, _offset_, _length_)
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindVertexArray] = [-Fiddle::TYPE_INT]
|
1202
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindVertexArray] = Fiddle::TYPE_VOID
|
1203
|
+
def glBindVertexArray(_array_)
|
1204
|
+
f = OpenGL::get_command(:glBindVertexArray)
|
1205
|
+
f.call(_array_)
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteVertexArrays] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1209
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteVertexArrays] = Fiddle::TYPE_VOID
|
1210
|
+
def glDeleteVertexArrays(_n_, _arrays_)
|
1211
|
+
f = OpenGL::get_command(:glDeleteVertexArrays)
|
1212
|
+
f.call(_n_, _arrays_)
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenVertexArrays] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1216
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenVertexArrays] = Fiddle::TYPE_VOID
|
1217
|
+
def glGenVertexArrays(_n_, _arrays_)
|
1218
|
+
f = OpenGL::get_command(:glGenVertexArrays)
|
1219
|
+
f.call(_n_, _arrays_)
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsVertexArray] = [-Fiddle::TYPE_INT]
|
1223
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsVertexArray] = -Fiddle::TYPE_CHAR
|
1224
|
+
def glIsVertexArray(_array_)
|
1225
|
+
f = OpenGL::get_command(:glIsVertexArray)
|
1226
|
+
f.call(_array_)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetIntegeri_v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1230
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetIntegeri_v] = Fiddle::TYPE_VOID
|
1231
|
+
def glGetIntegeri_v(_target_, _index_, _data_)
|
1232
|
+
f = OpenGL::get_command(:glGetIntegeri_v)
|
1233
|
+
f.call(_target_, _index_, _data_)
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
GL_FUNCTIONS_ARGS_MAP[:glBeginTransformFeedback] = [-Fiddle::TYPE_INT]
|
1237
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBeginTransformFeedback] = Fiddle::TYPE_VOID
|
1238
|
+
def glBeginTransformFeedback(_primitiveMode_)
|
1239
|
+
f = OpenGL::get_command(:glBeginTransformFeedback)
|
1240
|
+
f.call(_primitiveMode_)
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
GL_FUNCTIONS_ARGS_MAP[:glEndTransformFeedback] = []
|
1244
|
+
GL_FUNCTIONS_RETVAL_MAP[:glEndTransformFeedback] = Fiddle::TYPE_VOID
|
1245
|
+
def glEndTransformFeedback()
|
1246
|
+
f = OpenGL::get_command(:glEndTransformFeedback)
|
1247
|
+
f.call()
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindBufferRange] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
|
1251
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindBufferRange] = Fiddle::TYPE_VOID
|
1252
|
+
def glBindBufferRange(_target_, _index_, _buffer_, _offset_, _size_)
|
1253
|
+
f = OpenGL::get_command(:glBindBufferRange)
|
1254
|
+
f.call(_target_, _index_, _buffer_, _offset_, _size_)
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindBufferBase] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1258
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindBufferBase] = Fiddle::TYPE_VOID
|
1259
|
+
def glBindBufferBase(_target_, _index_, _buffer_)
|
1260
|
+
f = OpenGL::get_command(:glBindBufferBase)
|
1261
|
+
f.call(_target_, _index_, _buffer_)
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
GL_FUNCTIONS_ARGS_MAP[:glTransformFeedbackVaryings] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT]
|
1265
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTransformFeedbackVaryings] = Fiddle::TYPE_VOID
|
1266
|
+
def glTransformFeedbackVaryings(_program_, _count_, _varyings_, _bufferMode_)
|
1267
|
+
f = OpenGL::get_command(:glTransformFeedbackVaryings)
|
1268
|
+
f.call(_program_, _count_, _varyings_, _bufferMode_)
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetTransformFeedbackVarying] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1272
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetTransformFeedbackVarying] = Fiddle::TYPE_VOID
|
1273
|
+
def glGetTransformFeedbackVarying(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
1274
|
+
f = OpenGL::get_command(:glGetTransformFeedbackVarying)
|
1275
|
+
f.call(_program_, _index_, _bufSize_, _length_, _size_, _type_, _name_)
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribIPointer] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1279
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribIPointer] = Fiddle::TYPE_VOID
|
1280
|
+
def glVertexAttribIPointer(_index_, _size_, _type_, _stride_, _pointer_)
|
1281
|
+
f = OpenGL::get_command(:glVertexAttribIPointer)
|
1282
|
+
f.call(_index_, _size_, _type_, _stride_, _pointer_)
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetVertexAttribIiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1286
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetVertexAttribIiv] = Fiddle::TYPE_VOID
|
1287
|
+
def glGetVertexAttribIiv(_index_, _pname_, _params_)
|
1288
|
+
f = OpenGL::get_command(:glGetVertexAttribIiv)
|
1289
|
+
f.call(_index_, _pname_, _params_)
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetVertexAttribIuiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1293
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetVertexAttribIuiv] = Fiddle::TYPE_VOID
|
1294
|
+
def glGetVertexAttribIuiv(_index_, _pname_, _params_)
|
1295
|
+
f = OpenGL::get_command(:glGetVertexAttribIuiv)
|
1296
|
+
f.call(_index_, _pname_, _params_)
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribI4i] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1300
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribI4i] = Fiddle::TYPE_VOID
|
1301
|
+
def glVertexAttribI4i(_index_, _x_, _y_, _z_, _w_)
|
1302
|
+
f = OpenGL::get_command(:glVertexAttribI4i)
|
1303
|
+
f.call(_index_, _x_, _y_, _z_, _w_)
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribI4ui] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1307
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribI4ui] = Fiddle::TYPE_VOID
|
1308
|
+
def glVertexAttribI4ui(_index_, _x_, _y_, _z_, _w_)
|
1309
|
+
f = OpenGL::get_command(:glVertexAttribI4ui)
|
1310
|
+
f.call(_index_, _x_, _y_, _z_, _w_)
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribI4iv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1314
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribI4iv] = Fiddle::TYPE_VOID
|
1315
|
+
def glVertexAttribI4iv(_index_, _v_)
|
1316
|
+
f = OpenGL::get_command(:glVertexAttribI4iv)
|
1317
|
+
f.call(_index_, _v_)
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribI4uiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1321
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribI4uiv] = Fiddle::TYPE_VOID
|
1322
|
+
def glVertexAttribI4uiv(_index_, _v_)
|
1323
|
+
f = OpenGL::get_command(:glVertexAttribI4uiv)
|
1324
|
+
f.call(_index_, _v_)
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformuiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1328
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformuiv] = Fiddle::TYPE_VOID
|
1329
|
+
def glGetUniformuiv(_program_, _location_, _params_)
|
1330
|
+
f = OpenGL::get_command(:glGetUniformuiv)
|
1331
|
+
f.call(_program_, _location_, _params_)
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetFragDataLocation] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1335
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetFragDataLocation] = Fiddle::TYPE_INT
|
1336
|
+
def glGetFragDataLocation(_program_, _name_)
|
1337
|
+
f = OpenGL::get_command(:glGetFragDataLocation)
|
1338
|
+
f.call(_program_, _name_)
|
1339
|
+
end
|
1340
|
+
|
1341
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1ui] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1342
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1ui] = Fiddle::TYPE_VOID
|
1343
|
+
def glUniform1ui(_location_, _v0_)
|
1344
|
+
f = OpenGL::get_command(:glUniform1ui)
|
1345
|
+
f.call(_location_, _v0_)
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2ui] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1349
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2ui] = Fiddle::TYPE_VOID
|
1350
|
+
def glUniform2ui(_location_, _v0_, _v1_)
|
1351
|
+
f = OpenGL::get_command(:glUniform2ui)
|
1352
|
+
f.call(_location_, _v0_, _v1_)
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3ui] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1356
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3ui] = Fiddle::TYPE_VOID
|
1357
|
+
def glUniform3ui(_location_, _v0_, _v1_, _v2_)
|
1358
|
+
f = OpenGL::get_command(:glUniform3ui)
|
1359
|
+
f.call(_location_, _v0_, _v1_, _v2_)
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4ui] = [Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1363
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4ui] = Fiddle::TYPE_VOID
|
1364
|
+
def glUniform4ui(_location_, _v0_, _v1_, _v2_, _v3_)
|
1365
|
+
f = OpenGL::get_command(:glUniform4ui)
|
1366
|
+
f.call(_location_, _v0_, _v1_, _v2_, _v3_)
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform1uiv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1370
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform1uiv] = Fiddle::TYPE_VOID
|
1371
|
+
def glUniform1uiv(_location_, _count_, _value_)
|
1372
|
+
f = OpenGL::get_command(:glUniform1uiv)
|
1373
|
+
f.call(_location_, _count_, _value_)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform2uiv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1377
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform2uiv] = Fiddle::TYPE_VOID
|
1378
|
+
def glUniform2uiv(_location_, _count_, _value_)
|
1379
|
+
f = OpenGL::get_command(:glUniform2uiv)
|
1380
|
+
f.call(_location_, _count_, _value_)
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform3uiv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1384
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform3uiv] = Fiddle::TYPE_VOID
|
1385
|
+
def glUniform3uiv(_location_, _count_, _value_)
|
1386
|
+
f = OpenGL::get_command(:glUniform3uiv)
|
1387
|
+
f.call(_location_, _count_, _value_)
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniform4uiv] = [Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1391
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniform4uiv] = Fiddle::TYPE_VOID
|
1392
|
+
def glUniform4uiv(_location_, _count_, _value_)
|
1393
|
+
f = OpenGL::get_command(:glUniform4uiv)
|
1394
|
+
f.call(_location_, _count_, _value_)
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearBufferiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1398
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearBufferiv] = Fiddle::TYPE_VOID
|
1399
|
+
def glClearBufferiv(_buffer_, _drawbuffer_, _value_)
|
1400
|
+
f = OpenGL::get_command(:glClearBufferiv)
|
1401
|
+
f.call(_buffer_, _drawbuffer_, _value_)
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearBufferuiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1405
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearBufferuiv] = Fiddle::TYPE_VOID
|
1406
|
+
def glClearBufferuiv(_buffer_, _drawbuffer_, _value_)
|
1407
|
+
f = OpenGL::get_command(:glClearBufferuiv)
|
1408
|
+
f.call(_buffer_, _drawbuffer_, _value_)
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearBufferfv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1412
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearBufferfv] = Fiddle::TYPE_VOID
|
1413
|
+
def glClearBufferfv(_buffer_, _drawbuffer_, _value_)
|
1414
|
+
f = OpenGL::get_command(:glClearBufferfv)
|
1415
|
+
f.call(_buffer_, _drawbuffer_, _value_)
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
GL_FUNCTIONS_ARGS_MAP[:glClearBufferfi] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_INT]
|
1419
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClearBufferfi] = Fiddle::TYPE_VOID
|
1420
|
+
def glClearBufferfi(_buffer_, _drawbuffer_, _depth_, _stencil_)
|
1421
|
+
f = OpenGL::get_command(:glClearBufferfi)
|
1422
|
+
f.call(_buffer_, _drawbuffer_, _depth_, _stencil_)
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetStringi] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1426
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetStringi] = Fiddle::TYPE_VOIDP
|
1427
|
+
def glGetStringi(_name_, _index_)
|
1428
|
+
f = OpenGL::get_command(:glGetStringi)
|
1429
|
+
f.call(_name_, _index_)
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
GL_FUNCTIONS_ARGS_MAP[:glCopyBufferSubData] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T, Fiddle::TYPE_PTRDIFF_T]
|
1433
|
+
GL_FUNCTIONS_RETVAL_MAP[:glCopyBufferSubData] = Fiddle::TYPE_VOID
|
1434
|
+
def glCopyBufferSubData(_readTarget_, _writeTarget_, _readOffset_, _writeOffset_, _size_)
|
1435
|
+
f = OpenGL::get_command(:glCopyBufferSubData)
|
1436
|
+
f.call(_readTarget_, _writeTarget_, _readOffset_, _writeOffset_, _size_)
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformIndices] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1440
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformIndices] = Fiddle::TYPE_VOID
|
1441
|
+
def glGetUniformIndices(_program_, _uniformCount_, _uniformNames_, _uniformIndices_)
|
1442
|
+
f = OpenGL::get_command(:glGetUniformIndices)
|
1443
|
+
f.call(_program_, _uniformCount_, _uniformNames_, _uniformIndices_)
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetActiveUniformsiv] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1447
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveUniformsiv] = Fiddle::TYPE_VOID
|
1448
|
+
def glGetActiveUniformsiv(_program_, _uniformCount_, _uniformIndices_, _pname_, _params_)
|
1449
|
+
f = OpenGL::get_command(:glGetActiveUniformsiv)
|
1450
|
+
f.call(_program_, _uniformCount_, _uniformIndices_, _pname_, _params_)
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetUniformBlockIndex] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1454
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetUniformBlockIndex] = -Fiddle::TYPE_INT
|
1455
|
+
def glGetUniformBlockIndex(_program_, _uniformBlockName_)
|
1456
|
+
f = OpenGL::get_command(:glGetUniformBlockIndex)
|
1457
|
+
f.call(_program_, _uniformBlockName_)
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetActiveUniformBlockiv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1461
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveUniformBlockiv] = Fiddle::TYPE_VOID
|
1462
|
+
def glGetActiveUniformBlockiv(_program_, _uniformBlockIndex_, _pname_, _params_)
|
1463
|
+
f = OpenGL::get_command(:glGetActiveUniformBlockiv)
|
1464
|
+
f.call(_program_, _uniformBlockIndex_, _pname_, _params_)
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetActiveUniformBlockName] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1468
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetActiveUniformBlockName] = Fiddle::TYPE_VOID
|
1469
|
+
def glGetActiveUniformBlockName(_program_, _uniformBlockIndex_, _bufSize_, _length_, _uniformBlockName_)
|
1470
|
+
f = OpenGL::get_command(:glGetActiveUniformBlockName)
|
1471
|
+
f.call(_program_, _uniformBlockIndex_, _bufSize_, _length_, _uniformBlockName_)
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
GL_FUNCTIONS_ARGS_MAP[:glUniformBlockBinding] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1475
|
+
GL_FUNCTIONS_RETVAL_MAP[:glUniformBlockBinding] = Fiddle::TYPE_VOID
|
1476
|
+
def glUniformBlockBinding(_program_, _uniformBlockIndex_, _uniformBlockBinding_)
|
1477
|
+
f = OpenGL::get_command(:glUniformBlockBinding)
|
1478
|
+
f.call(_program_, _uniformBlockIndex_, _uniformBlockBinding_)
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstanced] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1482
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstanced] = Fiddle::TYPE_VOID
|
1483
|
+
def glDrawArraysInstanced(_mode_, _first_, _count_, _instancecount_)
|
1484
|
+
f = OpenGL::get_command(:glDrawArraysInstanced)
|
1485
|
+
f.call(_mode_, _first_, _count_, _instancecount_)
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
GL_FUNCTIONS_ARGS_MAP[:glDrawElementsInstanced] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
|
1489
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDrawElementsInstanced] = Fiddle::TYPE_VOID
|
1490
|
+
def glDrawElementsInstanced(_mode_, _count_, _type_, _indices_, _instancecount_)
|
1491
|
+
f = OpenGL::get_command(:glDrawElementsInstanced)
|
1492
|
+
f.call(_mode_, _count_, _type_, _indices_, _instancecount_)
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
GL_FUNCTIONS_ARGS_MAP[:glFenceSync] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1496
|
+
GL_FUNCTIONS_RETVAL_MAP[:glFenceSync] = Fiddle::TYPE_VOIDP
|
1497
|
+
def glFenceSync(_condition_, _flags_)
|
1498
|
+
f = OpenGL::get_command(:glFenceSync)
|
1499
|
+
f.call(_condition_, _flags_)
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsSync] = [Fiddle::TYPE_VOIDP]
|
1503
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsSync] = -Fiddle::TYPE_CHAR
|
1504
|
+
def glIsSync(_sync_)
|
1505
|
+
f = OpenGL::get_command(:glIsSync)
|
1506
|
+
f.call(_sync_)
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteSync] = [Fiddle::TYPE_VOIDP]
|
1510
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteSync] = Fiddle::TYPE_VOID
|
1511
|
+
def glDeleteSync(_sync_)
|
1512
|
+
f = OpenGL::get_command(:glDeleteSync)
|
1513
|
+
f.call(_sync_)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
GL_FUNCTIONS_ARGS_MAP[:glClientWaitSync] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1517
|
+
GL_FUNCTIONS_RETVAL_MAP[:glClientWaitSync] = -Fiddle::TYPE_INT
|
1518
|
+
def glClientWaitSync(_sync_, _flags_, _timeout_)
|
1519
|
+
f = OpenGL::get_command(:glClientWaitSync)
|
1520
|
+
f.call(_sync_, _flags_, _timeout_)
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
GL_FUNCTIONS_ARGS_MAP[:glWaitSync] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, -Fiddle::TYPE_LONG_LONG]
|
1524
|
+
GL_FUNCTIONS_RETVAL_MAP[:glWaitSync] = Fiddle::TYPE_VOID
|
1525
|
+
def glWaitSync(_sync_, _flags_, _timeout_)
|
1526
|
+
f = OpenGL::get_command(:glWaitSync)
|
1527
|
+
f.call(_sync_, _flags_, _timeout_)
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetInteger64v] = [-Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1531
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetInteger64v] = Fiddle::TYPE_VOID
|
1532
|
+
def glGetInteger64v(_pname_, _data_)
|
1533
|
+
f = OpenGL::get_command(:glGetInteger64v)
|
1534
|
+
f.call(_pname_, _data_)
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetSynciv] = [Fiddle::TYPE_VOIDP, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1538
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetSynciv] = Fiddle::TYPE_VOID
|
1539
|
+
def glGetSynciv(_sync_, _pname_, _bufSize_, _length_, _values_)
|
1540
|
+
f = OpenGL::get_command(:glGetSynciv)
|
1541
|
+
f.call(_sync_, _pname_, _bufSize_, _length_, _values_)
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetInteger64i_v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1545
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetInteger64i_v] = Fiddle::TYPE_VOID
|
1546
|
+
def glGetInteger64i_v(_target_, _index_, _data_)
|
1547
|
+
f = OpenGL::get_command(:glGetInteger64i_v)
|
1548
|
+
f.call(_target_, _index_, _data_)
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetBufferParameteri64v] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1552
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetBufferParameteri64v] = Fiddle::TYPE_VOID
|
1553
|
+
def glGetBufferParameteri64v(_target_, _pname_, _params_)
|
1554
|
+
f = OpenGL::get_command(:glGetBufferParameteri64v)
|
1555
|
+
f.call(_target_, _pname_, _params_)
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenSamplers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1559
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenSamplers] = Fiddle::TYPE_VOID
|
1560
|
+
def glGenSamplers(_count_, _samplers_)
|
1561
|
+
f = OpenGL::get_command(:glGenSamplers)
|
1562
|
+
f.call(_count_, _samplers_)
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteSamplers] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1566
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteSamplers] = Fiddle::TYPE_VOID
|
1567
|
+
def glDeleteSamplers(_count_, _samplers_)
|
1568
|
+
f = OpenGL::get_command(:glDeleteSamplers)
|
1569
|
+
f.call(_count_, _samplers_)
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsSampler] = [-Fiddle::TYPE_INT]
|
1573
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsSampler] = -Fiddle::TYPE_CHAR
|
1574
|
+
def glIsSampler(_sampler_)
|
1575
|
+
f = OpenGL::get_command(:glIsSampler)
|
1576
|
+
f.call(_sampler_)
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindSampler] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1580
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindSampler] = Fiddle::TYPE_VOID
|
1581
|
+
def glBindSampler(_unit_, _sampler_)
|
1582
|
+
f = OpenGL::get_command(:glBindSampler)
|
1583
|
+
f.call(_unit_, _sampler_)
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
GL_FUNCTIONS_ARGS_MAP[:glSamplerParameteri] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1587
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameteri] = Fiddle::TYPE_VOID
|
1588
|
+
def glSamplerParameteri(_sampler_, _pname_, _param_)
|
1589
|
+
f = OpenGL::get_command(:glSamplerParameteri)
|
1590
|
+
f.call(_sampler_, _pname_, _param_)
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
GL_FUNCTIONS_ARGS_MAP[:glSamplerParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1594
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameteriv] = Fiddle::TYPE_VOID
|
1595
|
+
def glSamplerParameteriv(_sampler_, _pname_, _param_)
|
1596
|
+
f = OpenGL::get_command(:glSamplerParameteriv)
|
1597
|
+
f.call(_sampler_, _pname_, _param_)
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
GL_FUNCTIONS_ARGS_MAP[:glSamplerParameterf] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT]
|
1601
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameterf] = Fiddle::TYPE_VOID
|
1602
|
+
def glSamplerParameterf(_sampler_, _pname_, _param_)
|
1603
|
+
f = OpenGL::get_command(:glSamplerParameterf)
|
1604
|
+
f.call(_sampler_, _pname_, _param_)
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
GL_FUNCTIONS_ARGS_MAP[:glSamplerParameterfv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1608
|
+
GL_FUNCTIONS_RETVAL_MAP[:glSamplerParameterfv] = Fiddle::TYPE_VOID
|
1609
|
+
def glSamplerParameterfv(_sampler_, _pname_, _param_)
|
1610
|
+
f = OpenGL::get_command(:glSamplerParameterfv)
|
1611
|
+
f.call(_sampler_, _pname_, _param_)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetSamplerParameteriv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1615
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetSamplerParameteriv] = Fiddle::TYPE_VOID
|
1616
|
+
def glGetSamplerParameteriv(_sampler_, _pname_, _params_)
|
1617
|
+
f = OpenGL::get_command(:glGetSamplerParameteriv)
|
1618
|
+
f.call(_sampler_, _pname_, _params_)
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetSamplerParameterfv] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1622
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetSamplerParameterfv] = Fiddle::TYPE_VOID
|
1623
|
+
def glGetSamplerParameterfv(_sampler_, _pname_, _params_)
|
1624
|
+
f = OpenGL::get_command(:glGetSamplerParameterfv)
|
1625
|
+
f.call(_sampler_, _pname_, _params_)
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
GL_FUNCTIONS_ARGS_MAP[:glVertexAttribDivisor] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1629
|
+
GL_FUNCTIONS_RETVAL_MAP[:glVertexAttribDivisor] = Fiddle::TYPE_VOID
|
1630
|
+
def glVertexAttribDivisor(_index_, _divisor_)
|
1631
|
+
f = OpenGL::get_command(:glVertexAttribDivisor)
|
1632
|
+
f.call(_index_, _divisor_)
|
1633
|
+
end
|
1634
|
+
|
1635
|
+
GL_FUNCTIONS_ARGS_MAP[:glBindTransformFeedback] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
1636
|
+
GL_FUNCTIONS_RETVAL_MAP[:glBindTransformFeedback] = Fiddle::TYPE_VOID
|
1637
|
+
def glBindTransformFeedback(_target_, _id_)
|
1638
|
+
f = OpenGL::get_command(:glBindTransformFeedback)
|
1639
|
+
f.call(_target_, _id_)
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
GL_FUNCTIONS_ARGS_MAP[:glDeleteTransformFeedbacks] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1643
|
+
GL_FUNCTIONS_RETVAL_MAP[:glDeleteTransformFeedbacks] = Fiddle::TYPE_VOID
|
1644
|
+
def glDeleteTransformFeedbacks(_n_, _ids_)
|
1645
|
+
f = OpenGL::get_command(:glDeleteTransformFeedbacks)
|
1646
|
+
f.call(_n_, _ids_)
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
GL_FUNCTIONS_ARGS_MAP[:glGenTransformFeedbacks] = [Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1650
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGenTransformFeedbacks] = Fiddle::TYPE_VOID
|
1651
|
+
def glGenTransformFeedbacks(_n_, _ids_)
|
1652
|
+
f = OpenGL::get_command(:glGenTransformFeedbacks)
|
1653
|
+
f.call(_n_, _ids_)
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
GL_FUNCTIONS_ARGS_MAP[:glIsTransformFeedback] = [-Fiddle::TYPE_INT]
|
1657
|
+
GL_FUNCTIONS_RETVAL_MAP[:glIsTransformFeedback] = -Fiddle::TYPE_CHAR
|
1658
|
+
def glIsTransformFeedback(_id_)
|
1659
|
+
f = OpenGL::get_command(:glIsTransformFeedback)
|
1660
|
+
f.call(_id_)
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
GL_FUNCTIONS_ARGS_MAP[:glPauseTransformFeedback] = []
|
1664
|
+
GL_FUNCTIONS_RETVAL_MAP[:glPauseTransformFeedback] = Fiddle::TYPE_VOID
|
1665
|
+
def glPauseTransformFeedback()
|
1666
|
+
f = OpenGL::get_command(:glPauseTransformFeedback)
|
1667
|
+
f.call()
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
GL_FUNCTIONS_ARGS_MAP[:glResumeTransformFeedback] = []
|
1671
|
+
GL_FUNCTIONS_RETVAL_MAP[:glResumeTransformFeedback] = Fiddle::TYPE_VOID
|
1672
|
+
def glResumeTransformFeedback()
|
1673
|
+
f = OpenGL::get_command(:glResumeTransformFeedback)
|
1674
|
+
f.call()
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetProgramBinary] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
1678
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramBinary] = Fiddle::TYPE_VOID
|
1679
|
+
def glGetProgramBinary(_program_, _bufSize_, _length_, _binaryFormat_, _binary_)
|
1680
|
+
f = OpenGL::get_command(:glGetProgramBinary)
|
1681
|
+
f.call(_program_, _bufSize_, _length_, _binaryFormat_, _binary_)
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramBinary] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT]
|
1685
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramBinary] = Fiddle::TYPE_VOID
|
1686
|
+
def glProgramBinary(_program_, _binaryFormat_, _binary_, _length_)
|
1687
|
+
f = OpenGL::get_command(:glProgramBinary)
|
1688
|
+
f.call(_program_, _binaryFormat_, _binary_, _length_)
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
GL_FUNCTIONS_ARGS_MAP[:glProgramParameteri] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1692
|
+
GL_FUNCTIONS_RETVAL_MAP[:glProgramParameteri] = Fiddle::TYPE_VOID
|
1693
|
+
def glProgramParameteri(_program_, _pname_, _value_)
|
1694
|
+
f = OpenGL::get_command(:glProgramParameteri)
|
1695
|
+
f.call(_program_, _pname_, _value_)
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
GL_FUNCTIONS_ARGS_MAP[:glInvalidateFramebuffer] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1699
|
+
GL_FUNCTIONS_RETVAL_MAP[:glInvalidateFramebuffer] = Fiddle::TYPE_VOID
|
1700
|
+
def glInvalidateFramebuffer(_target_, _numAttachments_, _attachments_)
|
1701
|
+
f = OpenGL::get_command(:glInvalidateFramebuffer)
|
1702
|
+
f.call(_target_, _numAttachments_, _attachments_)
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
GL_FUNCTIONS_ARGS_MAP[:glInvalidateSubFramebuffer] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1706
|
+
GL_FUNCTIONS_RETVAL_MAP[:glInvalidateSubFramebuffer] = Fiddle::TYPE_VOID
|
1707
|
+
def glInvalidateSubFramebuffer(_target_, _numAttachments_, _attachments_, _x_, _y_, _width_, _height_)
|
1708
|
+
f = OpenGL::get_command(:glInvalidateSubFramebuffer)
|
1709
|
+
f.call(_target_, _numAttachments_, _attachments_, _x_, _y_, _width_, _height_)
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexStorage2D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1713
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexStorage2D] = Fiddle::TYPE_VOID
|
1714
|
+
def glTexStorage2D(_target_, _levels_, _internalformat_, _width_, _height_)
|
1715
|
+
f = OpenGL::get_command(:glTexStorage2D)
|
1716
|
+
f.call(_target_, _levels_, _internalformat_, _width_, _height_)
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
GL_FUNCTIONS_ARGS_MAP[:glTexStorage3D] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1720
|
+
GL_FUNCTIONS_RETVAL_MAP[:glTexStorage3D] = Fiddle::TYPE_VOID
|
1721
|
+
def glTexStorage3D(_target_, _levels_, _internalformat_, _width_, _height_, _depth_)
|
1722
|
+
f = OpenGL::get_command(:glTexStorage3D)
|
1723
|
+
f.call(_target_, _levels_, _internalformat_, _width_, _height_, _depth_)
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
GL_FUNCTIONS_ARGS_MAP[:glGetInternalformativ] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
1727
|
+
GL_FUNCTIONS_RETVAL_MAP[:glGetInternalformativ] = Fiddle::TYPE_VOID
|
1728
|
+
def glGetInternalformativ(_target_, _internalformat_, _pname_, _bufSize_, _params_)
|
1729
|
+
f = OpenGL::get_command(:glGetInternalformativ)
|
1730
|
+
f.call(_target_, _internalformat_, _pname_, _bufSize_, _params_)
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
end
|