Stripped out a lot of useless info from the spec, by selecting only what is needed.
[cl-glfw.git] / lib / opengl-arb_shader_objects.lisp
blobaedb950fe839b8febea9998bc954b66f00f3ebd0
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 ;;;; arb_shader_objects
7 (defconstant +program-object-arb+ #x8B40)
8 (defconstant +shader-object-arb+ #x8B48)
9 (defconstant +object-type-arb+ #x8B4E)
10 (defconstant +object-subtype-arb+ #x8B4F)
11 (defconstant +float-vec2-arb+ #x8B50)
12 (defconstant +float-vec3-arb+ #x8B51)
13 (defconstant +float-vec4-arb+ #x8B52)
14 (defconstant +int-vec2-arb+ #x8B53)
15 (defconstant +int-vec3-arb+ #x8B54)
16 (defconstant +int-vec4-arb+ #x8B55)
17 (defconstant +bool-arb+ #x8B56)
18 (defconstant +bool-vec2-arb+ #x8B57)
19 (defconstant +bool-vec3-arb+ #x8B58)
20 (defconstant +bool-vec4-arb+ #x8B59)
21 (defconstant +float-mat2-arb+ #x8B5A)
22 (defconstant +float-mat3-arb+ #x8B5B)
23 (defconstant +float-mat4-arb+ #x8B5C)
24 (defconstant +sampler-1d-arb+ #x8B5D)
25 (defconstant +sampler-2d-arb+ #x8B5E)
26 (defconstant +sampler-3d-arb+ #x8B5F)
27 (defconstant +sampler-cube-arb+ #x8B60)
28 (defconstant +sampler-1d-shadow-arb+ #x8B61)
29 (defconstant +sampler-2d-shadow-arb+ #x8B62)
30 (defconstant +sampler-2d-rect-arb+ #x8B63)
31 (defconstant +sampler-2d-rect-shadow-arb+ #x8B64)
32 (defconstant +object-delete-status-arb+ #x8B80)
33 (defconstant +object-compile-status-arb+ #x8B81)
34 (defconstant +object-link-status-arb+ #x8B82)
35 (defconstant +object-validate-status-arb+ #x8B83)
36 (defconstant +object-info-log-length-arb+ #x8B84)
37 (defconstant +object-attached-objects-arb+ #x8B85)
38 (defconstant +object-active-uniforms-arb+ #x8B86)
39 (defconstant +object-active-uniform-max-length-arb+ #x8B87)
40 (defconstant +object-shader-source-length-arb+ #x8B88)
41 (defglextfun "GetShaderSourceARB" get-shader-source-arb :return "void" :args
42 ((:name |obj| :type |handleARB| :direction :in)
43 (:name |maxLength| :type |SizeI| :direction :in)
44 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
45 (:name |source| :type |charARB| :direction :out :array t :size length))
46 :category "ARB_shader_objects" :version "1.2")
47 (defglextfun "GetUniformivARB" get-uniform-iv-arb :return "void" :args
48 ((:name |programObj| :type |handleARB| :direction :in)
49 (:name |location| :type |Int32| :direction :in)
50 (:name |params| :type |Int32| :direction :out :array t :size location))
51 :category "ARB_shader_objects" :version "1.2")
52 (defglextfun "GetUniformfvARB" get-uniform-fv-arb :return "void" :args
53 ((:name |programObj| :type |handleARB| :direction :in)
54 (:name |location| :type |Int32| :direction :in)
55 (:name |params| :type |Float32| :direction :out :array t :size location))
56 :category "ARB_shader_objects" :version "1.2")
57 (defglextfun "GetActiveUniformARB" get-active-uniform-arb :return "void" :args
58 ((:name |programObj| :type |handleARB| :direction :in)
59 (:name |index| :type |UInt32| :direction :in)
60 (:name |maxLength| :type |SizeI| :direction :in)
61 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
62 (:name |size| :type |Int32| :direction :out :array t :size #x1)
63 (:name |type| :type |GLenum| :direction :out :array t :size #x1)
64 (:name |name| :type |charARB| :direction :out :array t))
65 :category "ARB_shader_objects" :version "1.2")
66 (defglextfun "GetUniformLocationARB" get-uniform-location-arb :return "Int32"
67 :args
68 ((:name |programObj| :type |handleARB| :direction :in)
69 (:name |name| :type |charARB| :direction :in :array t))
70 :category "ARB_shader_objects" :version "1.2")
71 (defglextfun "GetAttachedObjectsARB" get-attached-objects-arb :return "void"
72 :args
73 ((:name |containerObj| :type |handleARB| :direction :in)
74 (:name |maxCount| :type |SizeI| :direction :in)
75 (:name |count| :type |SizeI| :direction :out :array t :size #x1)
76 (:name |obj| :type |handleARB| :direction :out :array t :size count))
77 :category "ARB_shader_objects" :version "1.2")
78 (defglextfun "GetInfoLogARB" get-info-log-arb :return "void" :args
79 ((:name |obj| :type |handleARB| :direction :in)
80 (:name |maxLength| :type |SizeI| :direction :in)
81 (:name |length| :type |SizeI| :direction :out :array t :size #x1)
82 (:name |infoLog| :type |charARB| :direction :out :array t :size length))
83 :category "ARB_shader_objects" :version "1.2")
84 (defglextfun "GetObjectParameterivARB" get-object-parameter-iv-arb :return
85 "void" :args
86 ((:name |obj| :type |handleARB| :direction :in)
87 (:name |pname| :type |GLenum| :direction :in)
88 (:name |params| :type |Int32| :direction :out :array t :size pname))
89 :category "ARB_shader_objects" :version "1.2")
90 (defglextfun "GetObjectParameterfvARB" get-object-parameter-fv-arb :return
91 "void" :args
92 ((:name |obj| :type |handleARB| :direction :in)
93 (:name |pname| :type |GLenum| :direction :in)
94 (:name |params| :type |Float32| :direction :out :array t :size pname))
95 :category "ARB_shader_objects" :version "1.2")
96 (defglextfun "UniformMatrix4fvARB" uniform-matrix-4fv-arb :return "void" :args
97 ((:name |location| :type |Int32| :direction :in)
98 (:name |count| :type |SizeI| :direction :in)
99 (:name |transpose| :type |Boolean| :direction :in)
100 (:name |value| :type |Float32| :direction :in :array t :size count))
101 :category "ARB_shader_objects" :version "1.2")
102 (defglextfun "UniformMatrix3fvARB" uniform-matrix-3fv-arb :return "void" :args
103 ((:name |location| :type |Int32| :direction :in)
104 (:name |count| :type |SizeI| :direction :in)
105 (:name |transpose| :type |Boolean| :direction :in)
106 (:name |value| :type |Float32| :direction :in :array t :size count))
107 :category "ARB_shader_objects" :version "1.2")
108 (defglextfun "UniformMatrix2fvARB" uniform-matrix-2fv-arb :return "void" :args
109 ((:name |location| :type |Int32| :direction :in)
110 (:name |count| :type |SizeI| :direction :in)
111 (:name |transpose| :type |Boolean| :direction :in)
112 (:name |value| :type |Float32| :direction :in :array t :size count))
113 :category "ARB_shader_objects" :version "1.2")
114 (defglextfun "Uniform4ivARB" uniform-4iv-arb :return "void" :args
115 ((:name |location| :type |Int32| :direction :in)
116 (:name |count| :type |SizeI| :direction :in)
117 (:name |value| :type |Int32| :direction :in :array t :size count))
118 :category "ARB_shader_objects" :version "1.2")
119 (defglextfun "Uniform3ivARB" uniform-3iv-arb :return "void" :args
120 ((:name |location| :type |Int32| :direction :in)
121 (:name |count| :type |SizeI| :direction :in)
122 (:name |value| :type |Int32| :direction :in :array t :size count))
123 :category "ARB_shader_objects" :version "1.2")
124 (defglextfun "Uniform2ivARB" uniform-2iv-arb :return "void" :args
125 ((:name |location| :type |Int32| :direction :in)
126 (:name |count| :type |SizeI| :direction :in)
127 (:name |value| :type |Int32| :direction :in :array t :size count))
128 :category "ARB_shader_objects" :version "1.2")
129 (defglextfun "Uniform1ivARB" uniform-1iv-arb :return "void" :args
130 ((:name |location| :type |Int32| :direction :in)
131 (:name |count| :type |SizeI| :direction :in)
132 (:name |value| :type |Int32| :direction :in :array t :size count))
133 :category "ARB_shader_objects" :version "1.2")
134 (defglextfun "Uniform4fvARB" uniform-4fv-arb :return "void" :args
135 ((:name |location| :type |Int32| :direction :in)
136 (:name |count| :type |SizeI| :direction :in)
137 (:name |value| :type |Float32| :direction :in :array t :size count))
138 :category "ARB_shader_objects" :version "1.2")
139 (defglextfun "Uniform3fvARB" uniform-3fv-arb :return "void" :args
140 ((:name |location| :type |Int32| :direction :in)
141 (:name |count| :type |SizeI| :direction :in)
142 (:name |value| :type |Float32| :direction :in :array t :size count))
143 :category "ARB_shader_objects" :version "1.2")
144 (defglextfun "Uniform2fvARB" uniform-2fv-arb :return "void" :args
145 ((:name |location| :type |Int32| :direction :in)
146 (:name |count| :type |SizeI| :direction :in)
147 (:name |value| :type |Float32| :direction :in :array t :size count))
148 :category "ARB_shader_objects" :version "1.2")
149 (defglextfun "Uniform1fvARB" uniform-1fv-arb :return "void" :args
150 ((:name |location| :type |Int32| :direction :in)
151 (:name |count| :type |SizeI| :direction :in)
152 (:name |value| :type |Float32| :direction :in :array t :size count))
153 :category "ARB_shader_objects" :version "1.2")
154 (defglextfun "Uniform4iARB" uniform-4i-arb :return "void" :args
155 ((:name |location| :type |Int32| :direction :in)
156 (:name |v0| :type |Int32| :direction :in)
157 (:name |v1| :type |Int32| :direction :in)
158 (:name |v2| :type |Int32| :direction :in)
159 (:name |v3| :type |Int32| :direction :in))
160 :category "ARB_shader_objects" :version "1.2")
161 (defglextfun "Uniform3iARB" uniform-3i-arb :return "void" :args
162 ((:name |location| :type |Int32| :direction :in)
163 (:name |v0| :type |Int32| :direction :in)
164 (:name |v1| :type |Int32| :direction :in)
165 (:name |v2| :type |Int32| :direction :in))
166 :category "ARB_shader_objects" :version "1.2")
167 (defglextfun "Uniform2iARB" uniform-2i-arb :return "void" :args
168 ((:name |location| :type |Int32| :direction :in)
169 (:name |v0| :type |Int32| :direction :in)
170 (:name |v1| :type |Int32| :direction :in))
171 :category "ARB_shader_objects" :version "1.2")
172 (defglextfun "Uniform1iARB" uniform-1i-arb :return "void" :args
173 ((:name |location| :type |Int32| :direction :in)
174 (:name |v0| :type |Int32| :direction :in))
175 :category "ARB_shader_objects" :version "1.2")
176 (defglextfun "Uniform4fARB" uniform-4f-arb :return "void" :args
177 ((:name |location| :type |Int32| :direction :in)
178 (:name |v0| :type |Float32| :direction :in)
179 (:name |v1| :type |Float32| :direction :in)
180 (:name |v2| :type |Float32| :direction :in)
181 (:name |v3| :type |Float32| :direction :in))
182 :category "ARB_shader_objects" :version "1.2")
183 (defglextfun "Uniform3fARB" uniform-3f-arb :return "void" :args
184 ((:name |location| :type |Int32| :direction :in)
185 (:name |v0| :type |Float32| :direction :in)
186 (:name |v1| :type |Float32| :direction :in)
187 (:name |v2| :type |Float32| :direction :in))
188 :category "ARB_shader_objects" :version "1.2")
189 (defglextfun "Uniform2fARB" uniform-2f-arb :return "void" :args
190 ((:name |location| :type |Int32| :direction :in)
191 (:name |v0| :type |Float32| :direction :in)
192 (:name |v1| :type |Float32| :direction :in))
193 :category "ARB_shader_objects" :version "1.2")
194 (defglextfun "Uniform1fARB" uniform-1f-arb :return "void" :args
195 ((:name |location| :type |Int32| :direction :in)
196 (:name |v0| :type |Float32| :direction :in))
197 :category "ARB_shader_objects" :version "1.2")
198 (defglextfun "ValidateProgramARB" validate-program-arb :return "void" :args
199 ((:name |programObj| :type |handleARB| :direction :in)) :category
200 "ARB_shader_objects" :version "1.2")
201 (defglextfun "UseProgramObjectARB" use-program-object-arb :return "void" :args
202 ((:name |programObj| :type |handleARB| :direction :in)) :category
203 "ARB_shader_objects" :version "1.2")
204 (defglextfun "LinkProgramARB" link-program-arb :return "void" :args
205 ((:name |programObj| :type |handleARB| :direction :in)) :category
206 "ARB_shader_objects" :version "1.2")
207 (defglextfun "AttachObjectARB" attach-object-arb :return "void" :args
208 ((:name |containerObj| :type |handleARB| :direction :in)
209 (:name |obj| :type |handleARB| :direction :in))
210 :category "ARB_shader_objects" :version "1.2")
211 (defglextfun "CreateProgramObjectARB" create-program-object-arb :return
212 "handleARB" :args nil :category "ARB_shader_objects" :version "1.2")
213 (defglextfun "CompileShaderARB" compile-shader-arb :return "void" :args
214 ((:name |shaderObj| :type |handleARB| :direction :in)) :category
215 "ARB_shader_objects" :version "1.2")
216 (defglextfun "ShaderSourceARB" shader-source-arb :return "void" :args
217 ((:name |shaderObj| :type |handleARB| :direction :in)
218 (:name |count| :type |SizeI| :direction :in)
219 (:name |string| :type |charPointerARB| :direction :in :array t :size count)
220 (:name |length| :type |Int32| :direction :in :array t :size #x1))
221 :category "ARB_shader_objects" :version "1.2")
222 (defglextfun "CreateShaderObjectARB" create-shader-object-arb :return
223 "handleARB" :args ((:name |shaderType| :type |GLenum| :direction :in))
224 :category "ARB_shader_objects" :version "1.2")
225 (defglextfun "DetachObjectARB" detach-object-arb :return "void" :args
226 ((:name |containerObj| :type |handleARB| :direction :in)
227 (:name |attachedObj| :type |handleARB| :direction :in))
228 :category "ARB_shader_objects" :version "1.2")
229 (defglextfun "GetHandleARB" get-handle-arb :return "handleARB" :args
230 ((:name |pname| :type |GLenum| :direction :in)) :category "ARB_shader_objects"
231 :version "1.2")
232 (defglextfun "DeleteObjectARB" delete-object-arb :return "void" :args
233 ((:name |obj| :type |handleARB| :direction :in)) :category
234 "ARB_shader_objects" :version "1.2")