Mipmaps examples and data file working.
[cl-glfw/jecs.git] / lib / opengl-version_2_0.lisp
blob64ba36f2411f9d0adec60a643d04383c8f86951f
2 (in-package #:gl)
4 ;;;; VERSION_2_0
6 (defconstant +blend-equation-rgb+ #x8009)
7 (defconstant +vertex-attrib-array-enabled+ #x8622)
8 (defconstant +vertex-attrib-array-size+ #x8623)
9 (defconstant +vertex-attrib-array-stride+ #x8624)
10 (defconstant +vertex-attrib-array-type+ #x8625)
11 (defconstant +current-vertex-attrib+ #x8626)
12 (defconstant +vertex-program-point-size+ #x8642)
13 (defconstant +vertex-program-two-side+ #x8643)
14 (defconstant +vertex-attrib-array-pointer+ #x8645)
15 (defconstant +stencil-back-func+ #x8800)
16 (defconstant +stencil-back-fail+ #x8801)
17 (defconstant +stencil-back-pass-depth-fail+ #x8802)
18 (defconstant +stencil-back-pass-depth-pass+ #x8803)
19 (defconstant +max-draw-buffers+ #x8824)
20 (defconstant +draw-buffer0+ #x8825)
21 (defconstant +draw-buffer1+ #x8826)
22 (defconstant +draw-buffer2+ #x8827)
23 (defconstant +draw-buffer3+ #x8828)
24 (defconstant +draw-buffer4+ #x8829)
25 (defconstant +draw-buffer5+ #x882A)
26 (defconstant +draw-buffer6+ #x882B)
27 (defconstant +draw-buffer7+ #x882C)
28 (defconstant +draw-buffer8+ #x882D)
29 (defconstant +draw-buffer9+ #x882E)
30 (defconstant +draw-buffer10+ #x882F)
31 (defconstant +draw-buffer11+ #x8830)
32 (defconstant +draw-buffer12+ #x8831)
33 (defconstant +draw-buffer13+ #x8832)
34 (defconstant +draw-buffer14+ #x8833)
35 (defconstant +draw-buffer15+ #x8834)
36 (defconstant +blend-equation-alpha+ #x883D)
37 (defconstant +point-sprite+ #x8861)
38 (defconstant +coord-replace+ #x8862)
39 (defconstant +max-vertex-attribs+ #x8869)
40 (defconstant +vertex-attrib-array-normalized+ #x886A)
41 (defconstant +max-texture-coords+ #x8871)
42 (defconstant +max-texture-image-units+ #x8872)
43 (defconstant +fragment-shader+ #x8B30)
44 (defconstant +vertex-shader+ #x8B31)
45 (defconstant +max-fragment-uniform-components+ #x8B49)
46 (defconstant +max-vertex-uniform-components+ #x8B4A)
47 (defconstant +max-varying-floats+ #x8B4B)
48 (defconstant +max-vertex-texture-image-units+ #x8B4C)
49 (defconstant +max-combined-texture-image-units+ #x8B4D)
50 (defconstant +shader-type+ #x8B4F)
51 (defconstant +float-vec2+ #x8B50)
52 (defconstant +float-vec3+ #x8B51)
53 (defconstant +float-vec4+ #x8B52)
54 (defconstant +int-vec2+ #x8B53)
55 (defconstant +int-vec3+ #x8B54)
56 (defconstant +int-vec4+ #x8B55)
57 (defconstant +bool+ #x8B56)
58 (defconstant +bool-vec2+ #x8B57)
59 (defconstant +bool-vec3+ #x8B58)
60 (defconstant +bool-vec4+ #x8B59)
61 (defconstant +float-mat2+ #x8B5A)
62 (defconstant +float-mat3+ #x8B5B)
63 (defconstant +float-mat4+ #x8B5C)
64 (defconstant +sampler-1d+ #x8B5D)
65 (defconstant +sampler-2d+ #x8B5E)
66 (defconstant +sampler-3d+ #x8B5F)
67 (defconstant +sampler-cube+ #x8B60)
68 (defconstant +sampler-1d-shadow+ #x8B61)
69 (defconstant +sampler-2d-shadow+ #x8B62)
70 (defconstant +delete-status+ #x8B80)
71 (defconstant +compile-status+ #x8B81)
72 (defconstant +link-status+ #x8B82)
73 (defconstant +validate-status+ #x8B83)
74 (defconstant +info-log-length+ #x8B84)
75 (defconstant +attached-shaders+ #x8B85)
76 (defconstant +active-uniforms+ #x8B86)
77 (defconstant +active-uniform-max-length+ #x8B87)
78 (defconstant +shader-source-length+ #x8B88)
79 (defconstant +active-attributes+ #x8B89)
80 (defconstant +active-attribute-max-length+ #x8B8A)
81 (defconstant +fragment-shader-derivative-hint+ #x8B8B)
82 (defconstant +shading-language-version+ #x8B8C)
83 (defconstant +current-program+ #x8B8D)
84 (defconstant +point-sprite-coord-origin+ #x8CA0)
85 (defconstant +lower-left+ #x8CA1)
86 (defconstant +upper-left+ #x8CA2)
87 (defconstant +stencil-back-ref+ #x8CA3)
88 (defconstant +stencil-back-value-mask+ #x8CA4)
89 (defconstant +stencil-back-writemask+ #x8CA5)
90 (defglfun
91 (("VertexAttribPointer" vertex-attrib-pointer) :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 :return ("void") :dlflags ("notlistable") :category ("VERSION_2_0") :version
100 ("2.0") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags
101 ("ignore") :offset ("664")))
102 (defglfun
103 (("VertexAttrib4usv" vertex-attrib-4usv) :args
104 ((:name |index| :type |UInt32| :direction :in)
105 (:name |v| :type |UInt16| :direction :in :array t :size #x4))
106 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
107 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
108 ("657")))
109 (defglfun
110 (("VertexAttrib4uiv" vertex-attrib-4uiv) :args
111 ((:name |index| :type |UInt32| :direction :in)
112 (:name |v| :type |UInt32| :direction :in :array t :size #x4))
113 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
114 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
115 ("658")))
116 (defglfun
117 (("VertexAttrib4ubv" vertex-attrib-4ubv) :args
118 ((:name |index| :type |UInt32| :direction :in)
119 (:name |v| :type |UInt8| :direction :in :array t :size #x4))
120 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
121 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
122 ("656")))
123 (defglfun
124 (("VertexAttrib4sv" vertex-attrib-4sv) :args
125 ((:name |index| :type |UInt32| :direction :in)
126 (:name |v| :type |Int16| :direction :in :array t :size #x4))
127 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
128 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore")
129 :glxropcode ("4192") :glsopcode ("0x0247") :offset ("626")))
130 (defglfun
131 (("VertexAttrib4s" vertex-attrib-4s) :args
132 ((:name |index| :type |UInt32| :direction :in)
133 (:name |x| :type |Int16| :direction :in)
134 (:name |y| :type |Int16| :direction :in)
135 (:name |z| :type |Int16| :direction :in)
136 (:name |w| :type |Int16| :direction :in))
137 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
138 ("VertexAttrib4sv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
139 :glxflags ("ignore") :offset ("625")))
140 (defglfun
141 (("VertexAttrib4iv" vertex-attrib-4iv) :args
142 ((:name |index| :type |UInt32| :direction :in)
143 (:name |v| :type |Int32| :direction :in :array t :size #x4))
144 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
145 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
146 ("655")))
147 (defglfun
148 (("VertexAttrib4fv" vertex-attrib-4fv) :args
149 ((:name |index| :type |UInt32| :direction :in)
150 (:name |v| :type |Float32| :direction :in :array t :size #x4))
151 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
152 ("soft" "WINSOFT" "NV10") :glxropcode ("4196") :glsopcode ("0x0248") :offset
153 ("624")))
154 (defglfun
155 (("VertexAttrib4f" vertex-attrib-4f) :args
156 ((:name |index| :type |UInt32| :direction :in)
157 (:name |x| :type |Float32| :direction :in)
158 (:name |y| :type |Float32| :direction :in)
159 (:name |z| :type |Float32| :direction :in)
160 (:name |w| :type |Float32| :direction :in))
161 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
162 ("VertexAttrib4fv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
163 :glxflags ("ignore") :offset ("623")))
164 (defglfun
165 (("VertexAttrib4dv" vertex-attrib-4dv) :args
166 ((:name |index| :type |UInt32| :direction :in)
167 (:name |v| :type |Float64| :direction :in :array t :size #x4))
168 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
169 ("soft" "WINSOFT" "NV10") :glxropcode ("4200") :glsopcode ("0x0249") :offset
170 ("622")))
171 (defglfun
172 (("VertexAttrib4d" vertex-attrib-4d) :args
173 ((:name |index| :type |UInt32| :direction :in)
174 (:name |x| :type |Float64| :direction :in)
175 (:name |y| :type |Float64| :direction :in)
176 (:name |z| :type |Float64| :direction :in)
177 (:name |w| :type |Float64| :direction :in))
178 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
179 ("VertexAttrib4dv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
180 :glxflags ("ignore") :offset ("621")))
181 (defglfun
182 (("VertexAttrib4bv" vertex-attrib-4bv) :args
183 ((:name |index| :type |UInt32| :direction :in)
184 (:name |v| :type |Int8| :direction :in :array t :size #x4))
185 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
186 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
187 ("654")))
188 (defglfun
189 (("VertexAttrib4Nusv" vertex-attrib-4n-usv) :args
190 ((:name |index| :type |UInt32| :direction :in)
191 (:name |v| :type |UInt16| :direction :in :array t :size #x4))
192 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
193 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
194 ("662")))
195 (defglfun
196 (("VertexAttrib4Nuiv" vertex-attrib-4n-uiv) :args
197 ((:name |index| :type |UInt32| :direction :in)
198 (:name |v| :type |UInt32| :direction :in :array t :size #x4))
199 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
200 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
201 ("663")))
202 (defglfun
203 (("VertexAttrib4Nubv" vertex-attrib-4n-ubv) :args
204 ((:name |index| :type |UInt32| :direction :in)
205 (:name |v| :type |UInt8| :direction :in :array t :size #x4))
206 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
207 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore")
208 :glxropcode ("4201") :glsopcode ("0x024A") :offset ("628")))
209 (defglfun
210 (("VertexAttrib4Nub" vertex-attrib-4n-ub) :args
211 ((:name |index| :type |UInt32| :direction :in)
212 (:name |x| :type |UInt8| :direction :in)
213 (:name |y| :type |UInt8| :direction :in)
214 (:name |z| :type |UInt8| :direction :in)
215 (:name |w| :type |UInt8| :direction :in))
216 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
217 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
218 ("627")))
219 (defglfun
220 (("VertexAttrib4Nsv" vertex-attrib-4n-sv) :args
221 ((:name |index| :type |UInt32| :direction :in)
222 (:name |v| :type |Int16| :direction :in :array t :size #x4))
223 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
224 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
225 ("660")))
226 (defglfun
227 (("VertexAttrib4Niv" vertex-attrib-4n-iv) :args
228 ((:name |index| :type |UInt32| :direction :in)
229 (:name |v| :type |Int32| :direction :in :array t :size #x4))
230 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
231 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
232 ("661")))
233 (defglfun
234 (("VertexAttrib4Nbv" vertex-attrib-4n-bv) :args
235 ((:name |index| :type |UInt32| :direction :in)
236 (:name |v| :type |Int8| :direction :in :array t :size #x4))
237 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
238 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
239 ("659")))
240 (defglfun
241 (("VertexAttrib3sv" vertex-attrib-3sv) :args
242 ((:name |index| :type |UInt32| :direction :in)
243 (:name |v| :type |Int16| :direction :in :array t :size #x3))
244 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
245 ("soft" "WINSOFT" "NV10") :glxropcode ("4191") :glsopcode ("0x0244") :offset
246 ("620")))
247 (defglfun
248 (("VertexAttrib3s" vertex-attrib-3s) :args
249 ((:name |index| :type |UInt32| :direction :in)
250 (:name |x| :type |Int16| :direction :in)
251 (:name |y| :type |Int16| :direction :in)
252 (:name |z| :type |Int16| :direction :in))
253 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
254 ("VertexAttrib3sv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
255 :glxflags ("ignore") :offset ("619")))
256 (defglfun
257 (("VertexAttrib3fv" vertex-attrib-3fv) :args
258 ((:name |index| :type |UInt32| :direction :in)
259 (:name |v| :type |Float32| :direction :in :array t :size #x3))
260 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
261 ("soft" "WINSOFT" "NV10") :glxropcode ("4195") :glsopcode ("0x0245") :offset
262 ("618")))
263 (defglfun
264 (("VertexAttrib3f" vertex-attrib-3f) :args
265 ((:name |index| :type |UInt32| :direction :in)
266 (:name |x| :type |Float32| :direction :in)
267 (:name |y| :type |Float32| :direction :in)
268 (:name |z| :type |Float32| :direction :in))
269 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
270 ("VertexAttrib3fv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
271 :glxflags ("ignore") :offset ("617")))
272 (defglfun
273 (("VertexAttrib3dv" vertex-attrib-3dv) :args
274 ((:name |index| :type |UInt32| :direction :in)
275 (:name |v| :type |Float64| :direction :in :array t :size #x3))
276 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
277 ("soft" "WINSOFT" "NV10") :glxropcode ("4199") :glsopcode ("0x0246") :offset
278 ("616")))
279 (defglfun
280 (("VertexAttrib3d" vertex-attrib-3d) :args
281 ((:name |index| :type |UInt32| :direction :in)
282 (:name |x| :type |Float64| :direction :in)
283 (:name |y| :type |Float64| :direction :in)
284 (:name |z| :type |Float64| :direction :in))
285 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
286 ("VertexAttrib3dv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
287 :glxflags ("ignore") :offset ("615")))
288 (defglfun
289 (("VertexAttrib2sv" vertex-attrib-2sv) :args
290 ((:name |index| :type |UInt32| :direction :in)
291 (:name |v| :type |Int16| :direction :in :array t :size #x2))
292 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
293 ("soft" "WINSOFT" "NV10") :glxropcode ("4190") :glsopcode ("0x0241") :offset
294 ("614")))
295 (defglfun
296 (("VertexAttrib2s" vertex-attrib-2s) :args
297 ((:name |index| :type |UInt32| :direction :in)
298 (:name |x| :type |Int16| :direction :in)
299 (:name |y| :type |Int16| :direction :in))
300 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
301 ("VertexAttrib2sv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
302 :glxflags ("ignore") :offset ("613")))
303 (defglfun
304 (("VertexAttrib2fv" vertex-attrib-2fv) :args
305 ((:name |index| :type |UInt32| :direction :in)
306 (:name |v| :type |Float32| :direction :in :array t :size #x2))
307 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
308 ("soft" "WINSOFT" "NV10") :glxropcode ("4194") :glsopcode ("0x0242") :offset
309 ("612")))
310 (defglfun
311 (("VertexAttrib2f" vertex-attrib-2f) :args
312 ((:name |index| :type |UInt32| :direction :in)
313 (:name |x| :type |Float32| :direction :in)
314 (:name |y| :type |Float32| :direction :in))
315 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
316 ("VertexAttrib2fv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
317 :glxflags ("ignore") :offset ("611")))
318 (defglfun
319 (("VertexAttrib2dv" vertex-attrib-2dv) :args
320 ((:name |index| :type |UInt32| :direction :in)
321 (:name |v| :type |Float64| :direction :in :array t :size #x2))
322 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
323 ("soft" "WINSOFT" "NV10") :glxropcode ("4198") :glsopcode ("0x0243") :offset
324 ("610")))
325 (defglfun
326 (("VertexAttrib2d" vertex-attrib-2d) :args
327 ((:name |index| :type |UInt32| :direction :in)
328 (:name |x| :type |Float64| :direction :in)
329 (:name |y| :type |Float64| :direction :in))
330 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
331 ("VertexAttrib2dv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
332 :glxflags ("ignore") :offset ("609")))
333 (defglfun
334 (("VertexAttrib1sv" vertex-attrib-1sv) :args
335 ((:name |index| :type |UInt32| :direction :in)
336 (:name |v| :type |Int16| :direction :in :array t :size #x1))
337 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
338 ("soft" "WINSOFT" "NV10") :glxropcode ("4189") :glsopcode ("0x023E") :offset
339 ("608")))
340 (defglfun
341 (("VertexAttrib1s" vertex-attrib-1s) :args
342 ((:name |index| :type |UInt32| :direction :in)
343 (:name |x| :type |Int16| :direction :in))
344 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
345 ("VertexAttrib1sv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
346 :glxflags ("ignore") :offset ("607")))
347 (defglfun
348 (("VertexAttrib1fv" vertex-attrib-1fv) :args
349 ((:name |index| :type |UInt32| :direction :in)
350 (:name |v| :type |Float32| :direction :in :array t :size #x1))
351 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
352 ("soft" "WINSOFT" "NV10") :glxropcode ("4193") :glsopcode ("0x023F") :offset
353 ("606")))
354 (defglfun
355 (("VertexAttrib1f" vertex-attrib-1f) :args
356 ((:name |index| :type |UInt32| :direction :in)
357 (:name |x| :type |Float32| :direction :in))
358 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
359 ("VertexAttrib1fv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
360 :glxflags ("ignore") :offset ("605")))
361 (defglfun
362 (("VertexAttrib1dv" vertex-attrib-1dv) :args
363 ((:name |index| :type |UInt32| :direction :in)
364 (:name |v| :type |Float64| :direction :in :array t :size #x1))
365 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension
366 ("soft" "WINSOFT" "NV10") :glxropcode ("4197") :glsopcode ("0x0240") :offset
367 ("604")))
368 (defglfun
369 (("VertexAttrib1d" vertex-attrib-1d) :args
370 ((:name |index| :type |UInt32| :direction :in)
371 (:name |x| :type |Float64| :direction :in))
372 :return ("void") :category ("VERSION_2_0") :version ("2.0") :vectorequiv
373 ("VertexAttrib1dv") :extension ("soft" "WINSOFT" "NV10") :glsflags ("ignore")
374 :glxflags ("ignore") :offset ("603")))
375 (defglfun
376 (("ValidateProgram" validate-program) :args
377 ((:name |program| :type |UInt32| :direction :in)) :return ("void") :category
378 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
379 ("ignore") :glsopcode ("?") :offset ("?")))
380 (defglfun
381 (("UniformMatrix4fv" uniform-matrix-4fv) :args
382 ((:name |location| :type |Int32| :direction :in)
383 (:name |count| :type |SizeI| :direction :in)
384 (:name |transpose| :type |Boolean| :direction :in)
385 (:name |value| :type |Float32| :direction :in :array t :size count))
386 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
387 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
388 (defglfun
389 (("UniformMatrix3fv" uniform-matrix-3fv) :args
390 ((:name |location| :type |Int32| :direction :in)
391 (:name |count| :type |SizeI| :direction :in)
392 (:name |transpose| :type |Boolean| :direction :in)
393 (:name |value| :type |Float32| :direction :in :array t :size count))
394 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
395 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
396 (defglfun
397 (("UniformMatrix2fv" uniform-matrix-2fv) :args
398 ((:name |location| :type |Int32| :direction :in)
399 (:name |count| :type |SizeI| :direction :in)
400 (:name |transpose| :type |Boolean| :direction :in)
401 (:name |value| :type |Float32| :direction :in :array t :size count))
402 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
403 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
404 (defglfun
405 (("Uniform4iv" uniform-4iv) :args
406 ((:name |location| :type |Int32| :direction :in)
407 (:name |count| :type |SizeI| :direction :in)
408 (:name |value| :type |Int32| :direction :in :array t :size count))
409 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
410 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
411 (defglfun
412 (("Uniform3iv" uniform-3iv) :args
413 ((:name |location| :type |Int32| :direction :in)
414 (:name |count| :type |SizeI| :direction :in)
415 (:name |value| :type |Int32| :direction :in :array t :size count))
416 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
417 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
418 (defglfun
419 (("Uniform2iv" uniform-2iv) :args
420 ((:name |location| :type |Int32| :direction :in)
421 (:name |count| :type |SizeI| :direction :in)
422 (:name |value| :type |Int32| :direction :in :array t :size count))
423 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
424 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
425 (defglfun
426 (("Uniform1iv" uniform-1iv) :args
427 ((:name |location| :type |Int32| :direction :in)
428 (:name |count| :type |SizeI| :direction :in)
429 (:name |value| :type |Int32| :direction :in :array t :size count))
430 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
431 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
432 (defglfun
433 (("Uniform4fv" uniform-4fv) :args
434 ((:name |location| :type |Int32| :direction :in)
435 (:name |count| :type |SizeI| :direction :in)
436 (:name |value| :type |Float32| :direction :in :array t :size count))
437 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
438 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
439 (defglfun
440 (("Uniform3fv" uniform-3fv) :args
441 ((:name |location| :type |Int32| :direction :in)
442 (:name |count| :type |SizeI| :direction :in)
443 (:name |value| :type |Float32| :direction :in :array t :size count))
444 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
445 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
446 (defglfun
447 (("Uniform2fv" uniform-2fv) :args
448 ((:name |location| :type |Int32| :direction :in)
449 (:name |count| :type |SizeI| :direction :in)
450 (:name |value| :type |Float32| :direction :in :array t :size count))
451 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
452 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
453 (defglfun
454 (("Uniform1fv" uniform-1fv) :args
455 ((:name |location| :type |Int32| :direction :in)
456 (:name |count| :type |SizeI| :direction :in)
457 (:name |value| :type |Float32| :direction :in :array t :size count))
458 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
459 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
460 (defglfun
461 (("Uniform4i" uniform-4i) :args
462 ((:name |location| :type |Int32| :direction :in)
463 (:name |v0| :type |Int32| :direction :in)
464 (:name |v1| :type |Int32| :direction :in)
465 (:name |v2| :type |Int32| :direction :in)
466 (:name |v3| :type |Int32| :direction :in))
467 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
468 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
469 (defglfun
470 (("Uniform3i" uniform-3i) :args
471 ((:name |location| :type |Int32| :direction :in)
472 (:name |v0| :type |Int32| :direction :in)
473 (:name |v1| :type |Int32| :direction :in)
474 (:name |v2| :type |Int32| :direction :in))
475 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
476 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
477 (defglfun
478 (("Uniform2i" uniform-2i) :args
479 ((:name |location| :type |Int32| :direction :in)
480 (:name |v0| :type |Int32| :direction :in)
481 (:name |v1| :type |Int32| :direction :in))
482 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
483 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
484 (defglfun
485 (("Uniform1i" uniform-1i) :args
486 ((:name |location| :type |Int32| :direction :in)
487 (:name |v0| :type |Int32| :direction :in))
488 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
489 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
490 (defglfun
491 (("Uniform4f" uniform-4f) :args
492 ((:name |location| :type |Int32| :direction :in)
493 (:name |v0| :type |Float32| :direction :in)
494 (:name |v1| :type |Float32| :direction :in)
495 (:name |v2| :type |Float32| :direction :in)
496 (:name |v3| :type |Float32| :direction :in))
497 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
498 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
499 (defglfun
500 (("Uniform3f" uniform-3f) :args
501 ((:name |location| :type |Int32| :direction :in)
502 (:name |v0| :type |Float32| :direction :in)
503 (:name |v1| :type |Float32| :direction :in)
504 (:name |v2| :type |Float32| :direction :in))
505 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
506 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
507 (defglfun
508 (("Uniform2f" uniform-2f) :args
509 ((:name |location| :type |Int32| :direction :in)
510 (:name |v0| :type |Float32| :direction :in)
511 (:name |v1| :type |Float32| :direction :in))
512 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
513 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
514 (defglfun
515 (("Uniform1f" uniform-1f) :args
516 ((:name |location| :type |Int32| :direction :in)
517 (:name |v0| :type |Float32| :direction :in))
518 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
519 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
520 (defglfun
521 (("UseProgram" use-program) :args
522 ((:name |program| :type |UInt32| :direction :in)) :return ("void") :category
523 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
524 ("ignore") :glsopcode ("?") :offset ("?")))
525 (defglfun
526 (("ShaderSource" shader-source) :args
527 ((:name |shader| :type |UInt32| :direction :in)
528 (:name |count| :type |SizeI| :direction :in)
529 (:name |string| :type |CharPointer| :direction :in :array t :size count)
530 (:name |length| :type |Int32| :direction :in :array t :size #x1))
531 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
532 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
533 (defglfun
534 (("LinkProgram" link-program) :args
535 ((:name |program| :type |UInt32| :direction :in)) :return ("void") :category
536 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
537 ("ignore") :glsopcode ("?") :offset ("?")))
538 (defglfun
539 (("IsShader" is-shader) :args ((:name |shader| :type |UInt32| :direction :in))
540 :return ("Boolean") :dlflags ("notlistable") :category ("VERSION_2_0")
541 :version ("2.0") :extension ("soft" "WINSOFT" "NV10") :glxvendorpriv ("?")
542 :glsflags ("get") :glsopcode ("?") :offset ("?")))
543 (defglfun
544 (("IsProgram" is-program) :args
545 ((:name |program| :type |UInt32| :direction :in)) :return ("Boolean")
546 :dlflags ("notlistable") :category ("VERSION_2_0") :version ("2.0")
547 :extension ("soft" "WINSOFT" "NV10") :glxvendorpriv ("1304") :glsflags
548 ("get") :glsopcode ("0x0236") :offset ("592")))
549 (defglfun
550 (("GetVertexAttribPointerv" get-vertex-attrib-pointerv) :args
551 ((:name |index| :type |UInt32| :direction :in)
552 (:name |pname| :type |VertexAttribPointerPropertyARB| :direction :in)
553 (:name |pointer| :type |VoidPointer| :direction :out :array t :size #x1))
554 :return ("void") :dlflags ("notlistable") :category ("VERSION_2_0") :version
555 ("2.0") :extension ("soft" "WINSOFT" "NV10") :glxflags ("ignore") :glsflags
556 ("client" "get") :glsopcode ("0x0235") :offset ("591")))
557 (defglfun
558 (("GetVertexAttribiv" get-vertex-attrib-iv) :args
559 ((:name |index| :type |UInt32| :direction :in)
560 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
561 (:name |params| :type |Int32| :direction :out :array t :size #x4))
562 :return ("void") :dlflags ("notlistable") :category ("VERSION_2_0") :version
563 ("2.0") :extension ("soft" "WINSOFT" "NV10") :glxvendorpriv ("1303")
564 :glsflags ("client" "get") :glsopcode ("0x0234") :offset ("590")))
565 (defglfun
566 (("GetVertexAttribfv" get-vertex-attrib-fv) :args
567 ((:name |index| :type |UInt32| :direction :in)
568 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
569 (:name |params| :type |Float32| :direction :out :array t :size #x4))
570 :return ("void") :dlflags ("notlistable") :category ("VERSION_2_0") :version
571 ("2.0") :extension ("soft" "WINSOFT" "NV10") :glxvendorpriv ("1302")
572 :glsflags ("client" "get") :glsopcode ("0x0233") :offset ("589")))
573 (defglfun
574 (("GetVertexAttribdv" get-vertex-attrib-dv) :args
575 ((:name |index| :type |UInt32| :direction :in)
576 (:name |pname| :type |VertexAttribPropertyARB| :direction :in)
577 (:name |params| :type |Float64| :direction :out :array t :size #x4))
578 :return ("void") :dlflags ("notlistable") :category ("VERSION_2_0") :version
579 ("2.0") :extension ("soft" "WINSOFT" "NV10") :glxvendorpriv ("1301")
580 :glsflags ("client" "get") :glsopcode ("0x0232") :offset ("588")))
581 (defglfun
582 (("GetUniformiv" get-uniform-iv) :args
583 ((:name |program| :type |UInt32| :direction :in)
584 (:name |location| :type |Int32| :direction :in)
585 (:name |params| :type |Int32| :direction :out :array t :size location))
586 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
587 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
588 ("get") :glsopcode ("?") :offset ("?")))
589 (defglfun
590 (("GetUniformfv" get-uniform-fv) :args
591 ((:name |program| :type |UInt32| :direction :in)
592 (:name |location| :type |Int32| :direction :in)
593 (:name |params| :type |Float32| :direction :out :array t :size location))
594 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
595 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
596 ("get") :glsopcode ("?") :offset ("?")))
597 (defglfun
598 (("GetUniformLocation" get-uniform-location) :args
599 ((:name |program| :type |UInt32| :direction :in)
600 (:name |name| :type |Char| :direction :in :array t))
601 :return ("Int32") :category ("VERSION_2_0") :dlflags ("notlistable") :version
602 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
603 ("get") :glsopcode ("?") :offset ("?")))
604 (defglfun
605 (("GetShaderSource" get-shader-source) :args
606 ((:name |shader| :type |UInt32| :direction :in)
607 (:name |bufSize| :type |SizeI| :direction :in)
608 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
609 (:name |source| :type |Char| :direction :out :array t :size length))
610 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
611 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
612 ("get") :glsopcode ("?") :offset ("?")))
613 (defglfun
614 (("GetShaderInfoLog" get-shader-info-log) :args
615 ((:name |shader| :type |UInt32| :direction :in)
616 (:name |bufSize| :type |SizeI| :direction :in)
617 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
618 (:name |infoLog| :type |Char| :direction :out :array t :size length))
619 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
620 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
621 ("get") :glsopcode ("?") :offset ("?")))
622 (defglfun
623 (("GetShaderiv" get-shaderiv) :args
624 ((:name |shader| :type |UInt32| :direction :in)
625 (:name |pname| :type |GLenum| :direction :in)
626 (:name |params| :type |Int32| :direction :out :array t :size pname))
627 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
628 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
629 ("get") :glsopcode ("?") :offset ("?")))
630 (defglfun
631 (("GetProgramInfoLog" get-program-info-log) :args
632 ((:name |program| :type |UInt32| :direction :in)
633 (:name |bufSize| :type |SizeI| :direction :in)
634 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
635 (:name |infoLog| :type |Char| :direction :out :array t :size length))
636 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
637 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
638 ("get") :glsopcode ("?") :offset ("?")))
639 (defglfun
640 (("GetProgramiv" get-programiv) :args
641 ((:name |program| :type |UInt32| :direction :in)
642 (:name |pname| :type |GLenum| :direction :in)
643 (:name |params| :type |Int32| :direction :out :array t :size pname))
644 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
645 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
646 ("get") :glsopcode ("?") :offset ("?")))
647 (defglfun
648 (("GetAttribLocation" get-attrib-location) :args
649 ((:name |program| :type |UInt32| :direction :in)
650 (:name |name| :type |Char| :direction :in :array t))
651 :return ("Int32") :category ("VERSION_2_0") :dlflags ("notlistable") :version
652 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
653 ("get") :glsopcode ("?") :offset ("?")))
654 (defglfun
655 (("GetAttachedShaders" get-attached-shaders) :args
656 ((:name |program| :type |UInt32| :direction :in)
657 (:name |maxCount| :type |SizeI| :direction :in)
658 (:name |count| :type |SizeI| :direction :out :array t :size #x1)
659 (:name |obj| :type |UInt32| :direction :out :array t :size count))
660 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
661 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
662 ("get") :glsopcode ("?") :offset ("?")))
663 (defglfun
664 (("GetActiveUniform" get-active-uniform) :args
665 ((:name |program| :type |UInt32| :direction :in)
666 (:name |index| :type |UInt32| :direction :in)
667 (:name |bufSize| :type |SizeI| :direction :in)
668 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
669 (:name |size| :type |Int32| :direction :out :array t :size #x1)
670 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
671 (:name |name| :type |Char| :direction :out :array t))
672 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
673 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
674 ("get") :glsopcode ("?") :offset ("?")))
675 (defglfun
676 (("GetActiveAttrib" get-active-attrib) :args
677 ((:name |program| :type |UInt32| :direction :in)
678 (:name |index| :type |UInt32| :direction :in)
679 (:name |bufSize| :type |SizeI| :direction :in)
680 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
681 (:name |size| :type |Int32| :direction :out :array t :size #x1)
682 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
683 (:name |name| :type |Char| :direction :out :array t))
684 :return ("void") :category ("VERSION_2_0") :dlflags ("notlistable") :version
685 ("2.0") :extension nil :glxsingle ("?") :glxflags ("ignore") :glsflags
686 ("get") :glsopcode ("?") :offset ("?")))
687 (defglfun
688 (("EnableVertexAttribArray" enable-vertex-attrib-array) :args
689 ((:name |index| :type |UInt32| :direction :in)) :return ("void") :dlflags
690 ("notlistable") :category ("VERSION_2_0") :version ("2.0") :extension
691 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
692 ("665")))
693 (defglfun
694 (("DisableVertexAttribArray" disable-vertex-attrib-array) :args
695 ((:name |index| :type |UInt32| :direction :in)) :return ("void") :dlflags
696 ("notlistable") :category ("VERSION_2_0") :version ("2.0") :extension
697 ("soft" "WINSOFT" "NV10") :glsflags ("ignore") :glxflags ("ignore") :offset
698 ("666")))
699 (defglfun
700 (("DetachShader" detach-shader) :args
701 ((:name |program| :type |UInt32| :direction :in)
702 (:name |shader| :type |UInt32| :direction :in))
703 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
704 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
705 (defglfun
706 (("DeleteShader" delete-shader) :args
707 ((:name |shader| :type |UInt32| :direction :in)) :return ("void") :category
708 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
709 ("ignore") :glsopcode ("?") :offset ("?")))
710 (defglfun
711 (("DeleteProgram" delete-program) :args
712 ((:name |program| :type |UInt32| :direction :in)) :return ("void") :category
713 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
714 ("ignore") :glsopcode ("?") :offset ("?")))
715 (defglfun
716 (("CreateShader" create-shader) :args
717 ((:name |type| :type |GLenum| :direction :in)) :return ("UInt32") :category
718 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
719 ("ignore") :glsopcode ("?") :offset ("?")))
720 (defglfun
721 (("CreateProgram" create-program) :args nil :return ("UInt32") :category
722 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
723 ("ignore") :glsopcode ("?") :offset ("?")))
724 (defglfun
725 (("CompileShader" compile-shader) :args
726 ((:name |shader| :type |UInt32| :direction :in)) :return ("void") :category
727 ("VERSION_2_0") :version ("2.0") :extension nil :glxropcode ("?") :glxflags
728 ("ignore") :glsopcode ("?") :offset ("?")))
729 (defglfun
730 (("BindAttribLocation" bind-attrib-location) :args
731 ((:name |program| :type |UInt32| :direction :in)
732 (:name |index| :type |UInt32| :direction :in)
733 (:name |name| :type |Char| :direction :in :array t))
734 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
735 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
736 (defglfun
737 (("AttachShader" attach-shader) :args
738 ((:name |program| :type |UInt32| :direction :in)
739 (:name |shader| :type |UInt32| :direction :in))
740 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
741 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
742 (defglfun
743 (("StencilMaskSeparate" stencil-mask-separate) :args
744 ((:name |face| :type |StencilFaceDirection| :direction :in)
745 (:name |mask| :type |MaskedStencilValue| :direction :in))
746 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
747 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
748 (defglfun
749 (("StencilFuncSeparate" stencil-func-separate) :args
750 ((:name |frontfunc| :type |StencilFunction| :direction :in)
751 (:name |backfunc| :type |StencilFunction| :direction :in)
752 (:name |ref| :type |ClampedStencilValue| :direction :in)
753 (:name |mask| :type |MaskedStencilValue| :direction :in))
754 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
755 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
756 (defglfun
757 (("StencilOpSeparate" stencil-op-separate) :args
758 ((:name |face| :type |StencilFaceDirection| :direction :in)
759 (:name |sfail| :type |StencilOp| :direction :in)
760 (:name |dpfail| :type |StencilOp| :direction :in)
761 (:name |dppass| :type |StencilOp| :direction :in))
762 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
763 :glxropcode ("?") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
764 (defglfun
765 (("DrawBuffers" draw-buffers) :args
766 ((:name |n| :type |SizeI| :direction :in)
767 (:name |bufs| :type |DrawBufferModeATI| :direction :in :array t :size n))
768 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
769 :glxropcode ("233") :glxflags ("ignore") :glsopcode ("?") :offset ("?")))
770 (defglfun
771 (("BlendEquationSeparate" blend-equation-separate) :args
772 ((:name |modeRGB| :type |BlendEquationModeEXT| :direction :in)
773 (:name |modeAlpha| :type |BlendEquationModeEXT| :direction :in))
774 :return ("void") :category ("VERSION_2_0") :version ("2.0") :extension nil
775 :glxropcode ("4228") :glsopcode ("?")))