Added Win+Mac notes. Some wishlist aswell.
[cl-glfw/jecs.git] / lib / opengl-version_2_0.lisp
blob84e476d3b207ad0a5042d53a4da46de738dad069
1 ;;;; This file was automatically generated by /home/bill/programming/cl-glfw/generators/make-bindings-from-spec.lisp
3 (in-package #:cl-glfw-opengl)
5 ;;;; version_2_0
7 (defconstant +blend-equation-rgb+ #x8009)
8 (defconstant +vertex-attrib-array-enabled+ #x8622)
9 (defconstant +vertex-attrib-array-size+ #x8623)
10 (defconstant +vertex-attrib-array-stride+ #x8624)
11 (defconstant +vertex-attrib-array-type+ #x8625)
12 (defconstant +current-vertex-attrib+ #x8626)
13 (defconstant +vertex-program-point-size+ #x8642)
14 (defconstant +vertex-program-two-side+ #x8643)
15 (defconstant +vertex-attrib-array-pointer+ #x8645)
16 (defconstant +stencil-back-func+ #x8800)
17 (defconstant +stencil-back-fail+ #x8801)
18 (defconstant +stencil-back-pass-depth-fail+ #x8802)
19 (defconstant +stencil-back-pass-depth-pass+ #x8803)
20 (defconstant +max-draw-buffers+ #x8824)
21 (defconstant +draw-buffer0+ #x8825)
22 (defconstant +draw-buffer1+ #x8826)
23 (defconstant +draw-buffer2+ #x8827)
24 (defconstant +draw-buffer3+ #x8828)
25 (defconstant +draw-buffer4+ #x8829)
26 (defconstant +draw-buffer5+ #x882A)
27 (defconstant +draw-buffer6+ #x882B)
28 (defconstant +draw-buffer7+ #x882C)
29 (defconstant +draw-buffer8+ #x882D)
30 (defconstant +draw-buffer9+ #x882E)
31 (defconstant +draw-buffer10+ #x882F)
32 (defconstant +draw-buffer11+ #x8830)
33 (defconstant +draw-buffer12+ #x8831)
34 (defconstant +draw-buffer13+ #x8832)
35 (defconstant +draw-buffer14+ #x8833)
36 (defconstant +draw-buffer15+ #x8834)
37 (defconstant +blend-equation-alpha+ #x883D)
38 (defconstant +point-sprite+ #x8861)
39 (defconstant +coord-replace+ #x8862)
40 (defconstant +max-vertex-attribs+ #x8869)
41 (defconstant +vertex-attrib-array-normalized+ #x886A)
42 (defconstant +max-texture-coords+ #x8871)
43 (defconstant +max-texture-image-units+ #x8872)
44 (defconstant +fragment-shader+ #x8B30)
45 (defconstant +vertex-shader+ #x8B31)
46 (defconstant +max-fragment-uniform-components+ #x8B49)
47 (defconstant +max-vertex-uniform-components+ #x8B4A)
48 (defconstant +max-varying-floats+ #x8B4B)
49 (defconstant +max-vertex-texture-image-units+ #x8B4C)
50 (defconstant +max-combined-texture-image-units+ #x8B4D)
51 (defconstant +shader-type+ #x8B4F)
52 (defconstant +float-vec2+ #x8B50)
53 (defconstant +float-vec3+ #x8B51)
54 (defconstant +float-vec4+ #x8B52)
55 (defconstant +int-vec2+ #x8B53)
56 (defconstant +int-vec3+ #x8B54)
57 (defconstant +int-vec4+ #x8B55)
58 (defconstant +bool+ #x8B56)
59 (defconstant +bool-vec2+ #x8B57)
60 (defconstant +bool-vec3+ #x8B58)
61 (defconstant +bool-vec4+ #x8B59)
62 (defconstant +float-mat2+ #x8B5A)
63 (defconstant +float-mat3+ #x8B5B)
64 (defconstant +float-mat4+ #x8B5C)
65 (defconstant +sampler-1d+ #x8B5D)
66 (defconstant +sampler-2d+ #x8B5E)
67 (defconstant +sampler-3d+ #x8B5F)
68 (defconstant +sampler-cube+ #x8B60)
69 (defconstant +sampler-1d-shadow+ #x8B61)
70 (defconstant +sampler-2d-shadow+ #x8B62)
71 (defconstant +delete-status+ #x8B80)
72 (defconstant +compile-status+ #x8B81)
73 (defconstant +link-status+ #x8B82)
74 (defconstant +validate-status+ #x8B83)
75 (defconstant +info-log-length+ #x8B84)
76 (defconstant +attached-shaders+ #x8B85)
77 (defconstant +active-uniforms+ #x8B86)
78 (defconstant +active-uniform-max-length+ #x8B87)
79 (defconstant +shader-source-length+ #x8B88)
80 (defconstant +active-attributes+ #x8B89)
81 (defconstant +active-attribute-max-length+ #x8B8A)
82 (defconstant +fragment-shader-derivative-hint+ #x8B8B)
83 (defconstant +shading-language-version+ #x8B8C)
84 (defconstant +current-program+ #x8B8D)
85 (defconstant +point-sprite-coord-origin+ #x8CA0)
86 (defconstant +lower-left+ #x8CA1)
87 (defconstant +upper-left+ #x8CA2)
88 (defconstant +stencil-back-ref+ #x8CA3)
89 (defconstant +stencil-back-value-mask+ #x8CA4)
90 (defconstant +stencil-back-writemask+ #x8CA5)
91 (defglfun "VertexAttribPointer" vertex-attrib-pointer :return "void" :args
92 ((:name |index| :type |UInt32| :direction :in)
93 (:name |size| :type |Int32| :direction :in)
94 (:name |type| :type |VertexAttribPointerTypeARB| :direction :in)
95 (:name |normalized| :type |Boolean| :direction :in)
96 (:name |stride| :type |SizeI| :direction :in)
97 (:name |pointer| :type |Void| :direction :in :array t :size
98 (|size| |type| |stride|) :retained t))
99 :category "VERSION_2_0" :version "2.0")
100 (defglfun "VertexAttrib4usv" vertex-attrib-4usv :return "void" :args
101 ((:name |index| :type |UInt32| :direction :in)
102 (:name |v| :type |UInt16| :direction :in :array t :size #x4))
103 :category "VERSION_2_0" :version "2.0")
104 (defglfun "VertexAttrib4uiv" vertex-attrib-4uiv :return "void" :args
105 ((:name |index| :type |UInt32| :direction :in)
106 (:name |v| :type |UInt32| :direction :in :array t :size #x4))
107 :category "VERSION_2_0" :version "2.0")
108 (defglfun "VertexAttrib4ubv" vertex-attrib-4ubv :return "void" :args
109 ((:name |index| :type |UInt32| :direction :in)
110 (:name |v| :type |UInt8| :direction :in :array t :size #x4))
111 :category "VERSION_2_0" :version "2.0")
112 (defglfun "VertexAttrib4sv" vertex-attrib-4sv :return "void" :args
113 ((:name |index| :type |UInt32| :direction :in)
114 (:name |v| :type |Int16| :direction :in :array t :size #x4))
115 :category "VERSION_2_0" :version "2.0")
116 (defglfun "VertexAttrib4s" vertex-attrib-4s :return "void" :args
117 ((:name |index| :type |UInt32| :direction :in)
118 (:name |x| :type |Int16| :direction :in)
119 (:name |y| :type |Int16| :direction :in)
120 (:name |z| :type |Int16| :direction :in)
121 (:name |w| :type |Int16| :direction :in))
122 :category "VERSION_2_0" :version "2.0")
123 (defglfun "VertexAttrib4iv" vertex-attrib-4iv :return "void" :args
124 ((:name |index| :type |UInt32| :direction :in)
125 (:name |v| :type |Int32| :direction :in :array t :size #x4))
126 :category "VERSION_2_0" :version "2.0")
127 (defglfun "VertexAttrib4fv" vertex-attrib-4fv :return "void" :args
128 ((:name |index| :type |UInt32| :direction :in)
129 (:name |v| :type |Float32| :direction :in :array t :size #x4))
130 :category "VERSION_2_0" :version "2.0")
131 (defglfun "VertexAttrib4f" vertex-attrib-4f :return "void" :args
132 ((:name |index| :type |UInt32| :direction :in)
133 (:name |x| :type |Float32| :direction :in)
134 (:name |y| :type |Float32| :direction :in)
135 (:name |z| :type |Float32| :direction :in)
136 (:name |w| :type |Float32| :direction :in))
137 :category "VERSION_2_0" :version "2.0")
138 (defglfun "VertexAttrib4dv" vertex-attrib-4dv :return "void" :args
139 ((:name |index| :type |UInt32| :direction :in)
140 (:name |v| :type |Float64| :direction :in :array t :size #x4))
141 :category "VERSION_2_0" :version "2.0")
142 (defglfun "VertexAttrib4d" vertex-attrib-4d :return "void" :args
143 ((:name |index| :type |UInt32| :direction :in)
144 (:name |x| :type |Float64| :direction :in)
145 (:name |y| :type |Float64| :direction :in)
146 (:name |z| :type |Float64| :direction :in)
147 (:name |w| :type |Float64| :direction :in))
148 :category "VERSION_2_0" :version "2.0")
149 (defglfun "VertexAttrib4bv" vertex-attrib-4bv :return "void" :args
150 ((:name |index| :type |UInt32| :direction :in)
151 (:name |v| :type |Int8| :direction :in :array t :size #x4))
152 :category "VERSION_2_0" :version "2.0")
153 (defglfun "VertexAttrib4Nusv" vertex-attrib-4n-usv :return "void" :args
154 ((:name |index| :type |UInt32| :direction :in)
155 (:name |v| :type |UInt16| :direction :in :array t :size #x4))
156 :category "VERSION_2_0" :version "2.0")
157 (defglfun "VertexAttrib4Nuiv" vertex-attrib-4n-uiv :return "void" :args
158 ((:name |index| :type |UInt32| :direction :in)
159 (:name |v| :type |UInt32| :direction :in :array t :size #x4))
160 :category "VERSION_2_0" :version "2.0")
161 (defglfun "VertexAttrib4Nubv" vertex-attrib-4n-ubv :return "void" :args
162 ((:name |index| :type |UInt32| :direction :in)
163 (:name |v| :type |UInt8| :direction :in :array t :size #x4))
164 :category "VERSION_2_0" :version "2.0")
165 (defglfun "VertexAttrib4Nub" vertex-attrib-4n-ub :return "void" :args
166 ((:name |index| :type |UInt32| :direction :in)
167 (:name |x| :type |UInt8| :direction :in)
168 (:name |y| :type |UInt8| :direction :in)
169 (:name |z| :type |UInt8| :direction :in)
170 (:name |w| :type |UInt8| :direction :in))
171 :category "VERSION_2_0" :version "2.0")
172 (defglfun "VertexAttrib4Nsv" vertex-attrib-4n-sv :return "void" :args
173 ((:name |index| :type |UInt32| :direction :in)
174 (:name |v| :type |Int16| :direction :in :array t :size #x4))
175 :category "VERSION_2_0" :version "2.0")
176 (defglfun "VertexAttrib4Niv" vertex-attrib-4n-iv :return "void" :args
177 ((:name |index| :type |UInt32| :direction :in)
178 (:name |v| :type |Int32| :direction :in :array t :size #x4))
179 :category "VERSION_2_0" :version "2.0")
180 (defglfun "VertexAttrib4Nbv" vertex-attrib-4n-bv :return "void" :args
181 ((:name |index| :type |UInt32| :direction :in)
182 (:name |v| :type |Int8| :direction :in :array t :size #x4))
183 :category "VERSION_2_0" :version "2.0")
184 (defglfun "VertexAttrib3sv" vertex-attrib-3sv :return "void" :args
185 ((:name |index| :type |UInt32| :direction :in)
186 (:name |v| :type |Int16| :direction :in :array t :size #x3))
187 :category "VERSION_2_0" :version "2.0")
188 (defglfun "VertexAttrib3s" vertex-attrib-3s :return "void" :args
189 ((:name |index| :type |UInt32| :direction :in)
190 (:name |x| :type |Int16| :direction :in)
191 (:name |y| :type |Int16| :direction :in)
192 (:name |z| :type |Int16| :direction :in))
193 :category "VERSION_2_0" :version "2.0")
194 (defglfun "VertexAttrib3fv" vertex-attrib-3fv :return "void" :args
195 ((:name |index| :type |UInt32| :direction :in)
196 (:name |v| :type |Float32| :direction :in :array t :size #x3))
197 :category "VERSION_2_0" :version "2.0")
198 (defglfun "VertexAttrib3f" vertex-attrib-3f :return "void" :args
199 ((:name |index| :type |UInt32| :direction :in)
200 (:name |x| :type |Float32| :direction :in)
201 (:name |y| :type |Float32| :direction :in)
202 (:name |z| :type |Float32| :direction :in))
203 :category "VERSION_2_0" :version "2.0")
204 (defglfun "VertexAttrib3dv" vertex-attrib-3dv :return "void" :args
205 ((:name |index| :type |UInt32| :direction :in)
206 (:name |v| :type |Float64| :direction :in :array t :size #x3))
207 :category "VERSION_2_0" :version "2.0")
208 (defglfun "VertexAttrib3d" vertex-attrib-3d :return "void" :args
209 ((:name |index| :type |UInt32| :direction :in)
210 (:name |x| :type |Float64| :direction :in)
211 (:name |y| :type |Float64| :direction :in)
212 (:name |z| :type |Float64| :direction :in))
213 :category "VERSION_2_0" :version "2.0")
214 (defglfun "VertexAttrib2sv" vertex-attrib-2sv :return "void" :args
215 ((:name |index| :type |UInt32| :direction :in)
216 (:name |v| :type |Int16| :direction :in :array t :size #x2))
217 :category "VERSION_2_0" :version "2.0")
218 (defglfun "VertexAttrib2s" vertex-attrib-2s :return "void" :args
219 ((:name |index| :type |UInt32| :direction :in)
220 (:name |x| :type |Int16| :direction :in)
221 (:name |y| :type |Int16| :direction :in))
222 :category "VERSION_2_0" :version "2.0")
223 (defglfun "VertexAttrib2fv" vertex-attrib-2fv :return "void" :args
224 ((:name |index| :type |UInt32| :direction :in)
225 (:name |v| :type |Float32| :direction :in :array t :size #x2))
226 :category "VERSION_2_0" :version "2.0")
227 (defglfun "VertexAttrib2f" vertex-attrib-2f :return "void" :args
228 ((:name |index| :type |UInt32| :direction :in)
229 (:name |x| :type |Float32| :direction :in)
230 (:name |y| :type |Float32| :direction :in))
231 :category "VERSION_2_0" :version "2.0")
232 (defglfun "VertexAttrib2dv" vertex-attrib-2dv :return "void" :args
233 ((:name |index| :type |UInt32| :direction :in)
234 (:name |v| :type |Float64| :direction :in :array t :size #x2))
235 :category "VERSION_2_0" :version "2.0")
236 (defglfun "VertexAttrib2d" vertex-attrib-2d :return "void" :args
237 ((:name |index| :type |UInt32| :direction :in)
238 (:name |x| :type |Float64| :direction :in)
239 (:name |y| :type |Float64| :direction :in))
240 :category "VERSION_2_0" :version "2.0")
241 (defglfun "VertexAttrib1sv" vertex-attrib-1sv :return "void" :args
242 ((:name |index| :type |UInt32| :direction :in)
243 (:name |v| :type |Int16| :direction :in :array t :size #x1))
244 :category "VERSION_2_0" :version "2.0")
245 (defglfun "VertexAttrib1s" vertex-attrib-1s :return "void" :args
246 ((:name |index| :type |UInt32| :direction :in)
247 (:name |x| :type |Int16| :direction :in))
248 :category "VERSION_2_0" :version "2.0")
249 (defglfun "VertexAttrib1fv" vertex-attrib-1fv :return "void" :args
250 ((:name |index| :type |UInt32| :direction :in)
251 (:name |v| :type |Float32| :direction :in :array t :size #x1))
252 :category "VERSION_2_0" :version "2.0")
253 (defglfun "VertexAttrib1f" vertex-attrib-1f :return "void" :args
254 ((:name |index| :type |UInt32| :direction :in)
255 (:name |x| :type |Float32| :direction :in))
256 :category "VERSION_2_0" :version "2.0")
257 (defglfun "VertexAttrib1dv" vertex-attrib-1dv :return "void" :args
258 ((:name |index| :type |UInt32| :direction :in)
259 (:name |v| :type |Float64| :direction :in :array t :size #x1))
260 :category "VERSION_2_0" :version "2.0")
261 (defglfun "VertexAttrib1d" vertex-attrib-1d :return "void" :args
262 ((:name |index| :type |UInt32| :direction :in)
263 (:name |x| :type |Float64| :direction :in))
264 :category "VERSION_2_0" :version "2.0")
265 (defglfun "ValidateProgram" validate-program :return "void" :args
266 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
267 :version "2.0")
268 (defglfun "UniformMatrix4fv" uniform-matrix-4fv :return "void" :args
269 ((:name |location| :type |Int32| :direction :in)
270 (:name |count| :type |SizeI| :direction :in)
271 (:name |transpose| :type |Boolean| :direction :in)
272 (:name |value| :type |Float32| :direction :in :array t :size count))
273 :category "VERSION_2_0" :version "2.0")
274 (defglfun "UniformMatrix3fv" uniform-matrix-3fv :return "void" :args
275 ((:name |location| :type |Int32| :direction :in)
276 (:name |count| :type |SizeI| :direction :in)
277 (:name |transpose| :type |Boolean| :direction :in)
278 (:name |value| :type |Float32| :direction :in :array t :size count))
279 :category "VERSION_2_0" :version "2.0")
280 (defglfun "UniformMatrix2fv" uniform-matrix-2fv :return "void" :args
281 ((:name |location| :type |Int32| :direction :in)
282 (:name |count| :type |SizeI| :direction :in)
283 (:name |transpose| :type |Boolean| :direction :in)
284 (:name |value| :type |Float32| :direction :in :array t :size count))
285 :category "VERSION_2_0" :version "2.0")
286 (defglfun "Uniform4iv" uniform-4iv :return "void" :args
287 ((:name |location| :type |Int32| :direction :in)
288 (:name |count| :type |SizeI| :direction :in)
289 (:name |value| :type |Int32| :direction :in :array t :size count))
290 :category "VERSION_2_0" :version "2.0")
291 (defglfun "Uniform3iv" uniform-3iv :return "void" :args
292 ((:name |location| :type |Int32| :direction :in)
293 (:name |count| :type |SizeI| :direction :in)
294 (:name |value| :type |Int32| :direction :in :array t :size count))
295 :category "VERSION_2_0" :version "2.0")
296 (defglfun "Uniform2iv" uniform-2iv :return "void" :args
297 ((:name |location| :type |Int32| :direction :in)
298 (:name |count| :type |SizeI| :direction :in)
299 (:name |value| :type |Int32| :direction :in :array t :size count))
300 :category "VERSION_2_0" :version "2.0")
301 (defglfun "Uniform1iv" uniform-1iv :return "void" :args
302 ((:name |location| :type |Int32| :direction :in)
303 (:name |count| :type |SizeI| :direction :in)
304 (:name |value| :type |Int32| :direction :in :array t :size count))
305 :category "VERSION_2_0" :version "2.0")
306 (defglfun "Uniform4fv" uniform-4fv :return "void" :args
307 ((:name |location| :type |Int32| :direction :in)
308 (:name |count| :type |SizeI| :direction :in)
309 (:name |value| :type |Float32| :direction :in :array t :size count))
310 :category "VERSION_2_0" :version "2.0")
311 (defglfun "Uniform3fv" uniform-3fv :return "void" :args
312 ((:name |location| :type |Int32| :direction :in)
313 (:name |count| :type |SizeI| :direction :in)
314 (:name |value| :type |Float32| :direction :in :array t :size count))
315 :category "VERSION_2_0" :version "2.0")
316 (defglfun "Uniform2fv" uniform-2fv :return "void" :args
317 ((:name |location| :type |Int32| :direction :in)
318 (:name |count| :type |SizeI| :direction :in)
319 (:name |value| :type |Float32| :direction :in :array t :size count))
320 :category "VERSION_2_0" :version "2.0")
321 (defglfun "Uniform1fv" uniform-1fv :return "void" :args
322 ((:name |location| :type |Int32| :direction :in)
323 (:name |count| :type |SizeI| :direction :in)
324 (:name |value| :type |Float32| :direction :in :array t :size count))
325 :category "VERSION_2_0" :version "2.0")
326 (defglfun "Uniform4i" uniform-4i :return "void" :args
327 ((:name |location| :type |Int32| :direction :in)
328 (:name |v0| :type |Int32| :direction :in)
329 (:name |v1| :type |Int32| :direction :in)
330 (:name |v2| :type |Int32| :direction :in)
331 (:name |v3| :type |Int32| :direction :in))
332 :category "VERSION_2_0" :version "2.0")
333 (defglfun "Uniform3i" uniform-3i :return "void" :args
334 ((:name |location| :type |Int32| :direction :in)
335 (:name |v0| :type |Int32| :direction :in)
336 (:name |v1| :type |Int32| :direction :in)
337 (:name |v2| :type |Int32| :direction :in))
338 :category "VERSION_2_0" :version "2.0")
339 (defglfun "Uniform2i" uniform-2i :return "void" :args
340 ((:name |location| :type |Int32| :direction :in)
341 (:name |v0| :type |Int32| :direction :in)
342 (:name |v1| :type |Int32| :direction :in))
343 :category "VERSION_2_0" :version "2.0")
344 (defglfun "Uniform1i" uniform-1i :return "void" :args
345 ((:name |location| :type |Int32| :direction :in)
346 (:name |v0| :type |Int32| :direction :in))
347 :category "VERSION_2_0" :version "2.0")
348 (defglfun "Uniform4f" uniform-4f :return "void" :args
349 ((:name |location| :type |Int32| :direction :in)
350 (:name |v0| :type |Float32| :direction :in)
351 (:name |v1| :type |Float32| :direction :in)
352 (:name |v2| :type |Float32| :direction :in)
353 (:name |v3| :type |Float32| :direction :in))
354 :category "VERSION_2_0" :version "2.0")
355 (defglfun "Uniform3f" uniform-3f :return "void" :args
356 ((:name |location| :type |Int32| :direction :in)
357 (:name |v0| :type |Float32| :direction :in)
358 (:name |v1| :type |Float32| :direction :in)
359 (:name |v2| :type |Float32| :direction :in))
360 :category "VERSION_2_0" :version "2.0")
361 (defglfun "Uniform2f" uniform-2f :return "void" :args
362 ((:name |location| :type |Int32| :direction :in)
363 (:name |v0| :type |Float32| :direction :in)
364 (:name |v1| :type |Float32| :direction :in))
365 :category "VERSION_2_0" :version "2.0")
366 (defglfun "Uniform1f" uniform-1f :return "void" :args
367 ((:name |location| :type |Int32| :direction :in)
368 (:name |v0| :type |Float32| :direction :in))
369 :category "VERSION_2_0" :version "2.0")
370 (defglfun "UseProgram" use-program :return "void" :args
371 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
372 :version "2.0")
373 (defglfun "ShaderSource" shader-source :return "void" :args
374 ((:name |shader| :type |UInt32| :direction :in)
375 (:name |count| :type |SizeI| :direction :in)
376 (:name |string| :type |CharPointer| :direction :in :array t :size count)
377 (:name |length| :type |Int32| :direction :in :array t :size #x1))
378 :category "VERSION_2_0" :version "2.0")
379 (defglfun "LinkProgram" link-program :return "void" :args
380 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
381 :version "2.0")
382 (defglfun "IsShader" is-shader :return "Boolean" :args
383 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
384 :version "2.0")
385 (defglfun "IsProgram" is-program :return "Boolean" :args
386 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
387 :version "2.0")
388 (defglfun "GetVertexAttribPointerv" get-vertex-attrib-pointerv :return "void"
389 :args
390 ((:name |index| :type |UInt32| :direction :in)
391 (:name |pname| :type |VertexAttribPointerPropertyARB| :direction :in)
392 (:name |pointer| :type |VoidPointer| :direction :out :array t :size #x1))
393 :category "VERSION_2_0" :version "2.0")
394 (defglfun "GetVertexAttribiv" get-vertex-attrib-iv :return "void" :args
395 ((:name |index| :type |UInt32| :direction :in)
396 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
397 (:name |params| :type |Int32| :direction :out :array t :size #x4))
398 :category "VERSION_2_0" :version "2.0")
399 (defglfun "GetVertexAttribfv" get-vertex-attrib-fv :return "void" :args
400 ((:name |index| :type |UInt32| :direction :in)
401 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
402 (:name |params| :type |Float32| :direction :out :array t :size #x4))
403 :category "VERSION_2_0" :version "2.0")
404 (defglfun "GetVertexAttribdv" get-vertex-attrib-dv :return "void" :args
405 ((:name |index| :type |UInt32| :direction :in)
406 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
407 (:name |params| :type |Float64| :direction :out :array t :size #x4))
408 :category "VERSION_2_0" :version "2.0")
409 (defglfun "GetUniformiv" get-uniform-iv :return "void" :args
410 ((:name |program| :type |UInt32| :direction :in)
411 (:name |location| :type |Int32| :direction :in)
412 (:name |params| :type |Int32| :direction :out :array t :size location))
413 :category "VERSION_2_0" :version "2.0")
414 (defglfun "GetUniformfv" get-uniform-fv :return "void" :args
415 ((:name |program| :type |UInt32| :direction :in)
416 (:name |location| :type |Int32| :direction :in)
417 (:name |params| :type |Float32| :direction :out :array t :size location))
418 :category "VERSION_2_0" :version "2.0")
419 (defglfun "GetUniformLocation" get-uniform-location :return "Int32" :args
420 ((:name |program| :type |UInt32| :direction :in)
421 (:name |name| :type |Char| :direction :in :array t))
422 :category "VERSION_2_0" :version "2.0")
423 (defglfun "GetShaderSource" get-shader-source :return "void" :args
424 ((:name |shader| :type |UInt32| :direction :in)
425 (:name |bufSize| :type |SizeI| :direction :in)
426 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
427 (:name |source| :type |Char| :direction :out :array t :size length))
428 :category "VERSION_2_0" :version "2.0")
429 (defglfun "GetShaderInfoLog" get-shader-info-log :return "void" :args
430 ((:name |shader| :type |UInt32| :direction :in)
431 (:name |bufSize| :type |SizeI| :direction :in)
432 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
433 (:name |infoLog| :type |Char| :direction :out :array t :size length))
434 :category "VERSION_2_0" :version "2.0")
435 (defglfun "GetShaderiv" get-shader-iv :return "void" :args
436 ((:name |shader| :type |UInt32| :direction :in)
437 (:name |pname| :type |GLenum| :direction :in)
438 (:name |params| :type |Int32| :direction :out :array t :size pname))
439 :category "VERSION_2_0" :version "2.0")
440 (defglfun "GetProgramInfoLog" get-program-info-log :return "void" :args
441 ((:name |program| :type |UInt32| :direction :in)
442 (:name |bufSize| :type |SizeI| :direction :in)
443 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
444 (:name |infoLog| :type |Char| :direction :out :array t :size length))
445 :category "VERSION_2_0" :version "2.0")
446 (defglfun "GetProgramiv" get-program-iv :return "void" :args
447 ((:name |program| :type |UInt32| :direction :in)
448 (:name |pname| :type |GLenum| :direction :in)
449 (:name |params| :type |Int32| :direction :out :array t :size pname))
450 :category "VERSION_2_0" :version "2.0")
451 (defglfun "GetAttribLocation" get-attrib-location :return "Int32" :args
452 ((:name |program| :type |UInt32| :direction :in)
453 (:name |name| :type |Char| :direction :in :array t))
454 :category "VERSION_2_0" :version "2.0")
455 (defglfun "GetAttachedShaders" get-attached-shaders :return "void" :args
456 ((:name |program| :type |UInt32| :direction :in)
457 (:name |maxCount| :type |SizeI| :direction :in)
458 (:name |count| :type |SizeI| :direction :out :array t :size #x1)
459 (:name |obj| :type |UInt32| :direction :out :array t :size count))
460 :category "VERSION_2_0" :version "2.0")
461 (defglfun "GetActiveUniform" get-active-uniform :return "void" :args
462 ((:name |program| :type |UInt32| :direction :in)
463 (:name |index| :type |UInt32| :direction :in)
464 (:name |bufSize| :type |SizeI| :direction :in)
465 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
466 (:name |size| :type |Int32| :direction :out :array t :size #x1)
467 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
468 (:name |name| :type |Char| :direction :out :array t))
469 :category "VERSION_2_0" :version "2.0")
470 (defglfun "GetActiveAttrib" get-active-attrib :return "void" :args
471 ((:name |program| :type |UInt32| :direction :in)
472 (:name |index| :type |UInt32| :direction :in)
473 (:name |bufSize| :type |SizeI| :direction :in)
474 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
475 (:name |size| :type |Int32| :direction :out :array t :size #x1)
476 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
477 (:name |name| :type |Char| :direction :out :array t))
478 :category "VERSION_2_0" :version "2.0")
479 (defglfun "EnableVertexAttribArray" enable-vertex-attrib-array :return "void"
480 :args ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_2_0"
481 :version "2.0")
482 (defglfun "DisableVertexAttribArray" disable-vertex-attrib-array :return "void"
483 :args ((:name |index| :type |UInt32| :direction :in)) :category "VERSION_2_0"
484 :version "2.0")
485 (defglfun "DetachShader" detach-shader :return "void" :args
486 ((:name |program| :type |UInt32| :direction :in)
487 (:name |shader| :type |UInt32| :direction :in))
488 :category "VERSION_2_0" :version "2.0")
489 (defglfun "DeleteShader" delete-shader :return "void" :args
490 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
491 :version "2.0")
492 (defglfun "DeleteProgram" delete-program :return "void" :args
493 ((:name |program| :type |UInt32| :direction :in)) :category "VERSION_2_0"
494 :version "2.0")
495 (defglfun "CreateShader" create-shader :return "UInt32" :args
496 ((:name |type| :type |GLenum| :direction :in)) :category "VERSION_2_0"
497 :version "2.0")
498 (defglfun "CreateProgram" create-program :return "UInt32" :args nil :category
499 "VERSION_2_0" :version "2.0")
500 (defglfun "CompileShader" compile-shader :return "void" :args
501 ((:name |shader| :type |UInt32| :direction :in)) :category "VERSION_2_0"
502 :version "2.0")
503 (defglfun "BindAttribLocation" bind-attrib-location :return "void" :args
504 ((:name |program| :type |UInt32| :direction :in)
505 (:name |index| :type |UInt32| :direction :in)
506 (:name |name| :type |Char| :direction :in :array t))
507 :category "VERSION_2_0" :version "2.0")
508 (defglfun "AttachShader" attach-shader :return "void" :args
509 ((:name |program| :type |UInt32| :direction :in)
510 (:name |shader| :type |UInt32| :direction :in))
511 :category "VERSION_2_0" :version "2.0")
512 (defglfun "StencilMaskSeparate" stencil-mask-separate :return "void" :args
513 ((:name |face| :type |StencilFaceDirection| :direction :in)
514 (:name |mask| :type |MaskedStencilValue| :direction :in))
515 :category "VERSION_2_0" :version "2.0")
516 (defglfun "StencilFuncSeparate" stencil-func-separate :return "void" :args
517 ((:name |frontfunc| :type |StencilFunction| :direction :in)
518 (:name |backfunc| :type |StencilFunction| :direction :in)
519 (:name |ref| :type |ClampedStencilValue| :direction :in)
520 (:name |mask| :type |MaskedStencilValue| :direction :in))
521 :category "VERSION_2_0" :version "2.0")
522 (defglfun "StencilOpSeparate" stencil-op-separate :return "void" :args
523 ((:name |face| :type |StencilFaceDirection| :direction :in)
524 (:name |sfail| :type |StencilOp| :direction :in)
525 (:name |dpfail| :type |StencilOp| :direction :in)
526 (:name |dppass| :type |StencilOp| :direction :in))
527 :category "VERSION_2_0" :version "2.0")
528 (defglfun "DrawBuffers" draw-buffers :return "void" :args
529 ((:name |n| :type |SizeI| :direction :in)
530 (:name |bufs| :type |DrawBufferModeATI| :direction :in :array t :size n))
531 :category "VERSION_2_0" :version "2.0")
532 (defglfun "BlendEquationSeparate" blend-equation-separate :return "void" :args
533 ((:name |modeRGB| :type |BlendEquationModeEXT| :direction :in)
534 (:name |modeAlpha| :type |BlendEquationModeEXT| :direction :in))
535 :category "VERSION_2_0" :version "2.0")