Fix for callbacks under windows from Andrew Lyon.
[cl-glfw.git] / lib / opengl-ext_framebuffer_object.lisp
blob4860712d343d6f69dbffa296023db900a2a82c22
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 ;;;; ext_framebuffer_object
7 (defconstant +invalid-framebuffer-operation-ext+ #x506)
8 (defconstant +invalid-framebuffer-operation-oes+ #x506)
9 (defconstant +invalid-framebuffer-operation-ext+ #x506)
10 (defconstant +max-renderbuffer-size-ext+ #x84E8)
11 (defconstant +framebuffer-binding-ext+ #x8CA6)
12 (defconstant +renderbuffer-binding-ext+ #x8CA7)
13 (defconstant +framebuffer-attachment-object-type-ext+ #x8CD0)
14 (defconstant +framebuffer-attachment-object-name-ext+ #x8CD1)
15 (defconstant +framebuffer-attachment-texture-level-ext+ #x8CD2)
16 (defconstant +framebuffer-attachment-texture-cube-map-face-ext+ #x8CD3)
17 (defconstant +framebuffer-attachment-texture-3d-zoffset-ext+ #x8CD4)
18 (defconstant +framebuffer-complete-ext+ #x8CD5)
19 (defconstant +framebuffer-incomplete-attachment-ext+ #x8CD6)
20 (defconstant +framebuffer-incomplete-missing-attachment-ext+ #x8CD7)
21 (defconstant +framebuffer-incomplete-dimensions-ext+ #x8CD9)
22 (defconstant +framebuffer-incomplete-formats-ext+ #x8CDA)
23 (defconstant +framebuffer-incomplete-draw-buffer-ext+ #x8CDB)
24 (defconstant +framebuffer-incomplete-read-buffer-ext+ #x8CDC)
25 (defconstant +framebuffer-unsupported-ext+ #x8CDD)
26 (defconstant +max-color-attachments-ext+ #x8CDF)
27 (defconstant +color-attachment0-ext+ #x8CE0)
28 (defconstant +color-attachment1-ext+ #x8CE1)
29 (defconstant +color-attachment2-ext+ #x8CE2)
30 (defconstant +color-attachment3-ext+ #x8CE3)
31 (defconstant +color-attachment4-ext+ #x8CE4)
32 (defconstant +color-attachment5-ext+ #x8CE5)
33 (defconstant +color-attachment6-ext+ #x8CE6)
34 (defconstant +color-attachment7-ext+ #x8CE7)
35 (defconstant +color-attachment8-ext+ #x8CE8)
36 (defconstant +color-attachment9-ext+ #x8CE9)
37 (defconstant +color-attachment10-ext+ #x8CEA)
38 (defconstant +color-attachment11-ext+ #x8CEB)
39 (defconstant +color-attachment12-ext+ #x8CEC)
40 (defconstant +color-attachment13-ext+ #x8CED)
41 (defconstant +color-attachment14-ext+ #x8CEE)
42 (defconstant +color-attachment15-ext+ #x8CEF)
43 (defconstant +depth-attachment-ext+ #x8D00)
44 (defconstant +stencil-attachment-ext+ #x8D20)
45 (defconstant +framebuffer-ext+ #x8D40)
46 (defconstant +renderbuffer-ext+ #x8D41)
47 (defconstant +renderbuffer-width-ext+ #x8D42)
48 (defconstant +renderbuffer-height-ext+ #x8D43)
49 (defconstant +renderbuffer-internal-format-ext+ #x8D44)
50 (defconstant +stencil-index1-ext+ #x8D46)
51 (defconstant +stencil-index4-ext+ #x8D47)
52 (defconstant +stencil-index8-ext+ #x8D48)
53 (defconstant +stencil-index16-ext+ #x8D49)
54 (defconstant +renderbuffer-red-size-ext+ #x8D50)
55 (defconstant +renderbuffer-green-size-ext+ #x8D51)
56 (defconstant +renderbuffer-blue-size-ext+ #x8D52)
57 (defconstant +renderbuffer-alpha-size-ext+ #x8D53)
58 (defconstant +renderbuffer-depth-size-ext+ #x8D54)
59 (defconstant +renderbuffer-stencil-size-ext+ #x8D55)
60 (defglextfun "GenerateMipmapEXT" generate-mipmap-ext :return "void" :args
61 ((:name |target| :type |GLenum| :direction :in)) :category
62 "EXT_framebuffer_object" :deprecated nil :version "1.2")
63 (defglextfun "GetFramebufferAttachmentParameterivEXT"
64 get-framebuffer-attachment-parameter-iv-ext :return "void" :args
65 ((:name |target| :type |FramebufferTarget| :direction :in)
66 (:name |attachment| :type |FramebufferAttachment| :direction :in)
67 (:name |pname| :type |GLenum| :direction :in)
68 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
69 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
70 (defglextfun "FramebufferRenderbufferEXT" framebuffer-renderbuffer-ext :return
71 "void" :args
72 ((:name |target| :type |FramebufferTarget| :direction :in)
73 (:name |attachment| :type |FramebufferAttachment| :direction :in)
74 (:name |renderbuffertarget| :type |RenderbufferTarget| :direction :in)
75 (:name |renderbuffer| :type |UInt32| :direction :in))
76 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
77 (defglextfun "FramebufferTexture3DEXT" framebuffer-texture-3d-ext :return
78 "void" :args
79 ((:name |target| :type |FramebufferTarget| :direction :in)
80 (:name |attachment| :type |FramebufferAttachment| :direction :in)
81 (:name |textarget| :type |GLenum| :direction :in)
82 (:name |texture| :type |UInt32| :direction :in)
83 (:name |level| :type |Int32| :direction :in)
84 (:name |zoffset| :type |Int32| :direction :in))
85 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
86 (defglextfun "FramebufferTexture2DEXT" framebuffer-texture-2d-ext :return
87 "void" :args
88 ((:name |target| :type |FramebufferTarget| :direction :in)
89 (:name |attachment| :type |FramebufferAttachment| :direction :in)
90 (:name |textarget| :type |GLenum| :direction :in)
91 (:name |texture| :type |UInt32| :direction :in)
92 (:name |level| :type |Int32| :direction :in))
93 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
94 (defglextfun "FramebufferTexture1DEXT" framebuffer-texture-1d-ext :return
95 "void" :args
96 ((:name |target| :type |FramebufferTarget| :direction :in)
97 (:name |attachment| :type |FramebufferAttachment| :direction :in)
98 (:name |textarget| :type |GLenum| :direction :in)
99 (:name |texture| :type |UInt32| :direction :in)
100 (:name |level| :type |Int32| :direction :in))
101 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
102 (defglextfun "CheckFramebufferStatusEXT" check-framebuffer-status-ext :return
103 "GLenum" :args ((:name |target| :type |FramebufferTarget| :direction :in))
104 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
105 (defglextfun "GenFramebuffersEXT" gen-framebuffers-ext :return "void" :args
106 ((:name |n| :type |SizeI| :direction :in)
107 (:name |framebuffers| :type |UInt32| :direction :out :array t :size n))
108 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
109 (defglextfun "DeleteFramebuffersEXT" delete-framebuffers-ext :return "void"
110 :args
111 ((:name |n| :type |SizeI| :direction :in)
112 (:name |framebuffers| :type |UInt32| :direction :in :array t :size n))
113 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
114 (defglextfun "BindFramebufferEXT" bind-framebuffer-ext :return "void" :args
115 ((:name |target| :type |FramebufferTarget| :direction :in)
116 (:name |framebuffer| :type |UInt32| :direction :in))
117 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
118 (defglextfun "IsFramebufferEXT" is-framebuffer-ext :return "Boolean" :args
119 ((:name |framebuffer| :type |UInt32| :direction :in)) :category
120 "EXT_framebuffer_object" :deprecated nil :version "1.2")
121 (defglextfun "GetRenderbufferParameterivEXT" get-renderbuffer-parameter-iv-ext
122 :return "void" :args
123 ((:name |target| :type |RenderbufferTarget| :direction :in)
124 (:name |pname| :type |GLenum| :direction :in)
125 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
126 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
127 (defglextfun "RenderbufferStorageEXT" renderbuffer-storage-ext :return "void"
128 :args
129 ((:name |target| :type |RenderbufferTarget| :direction :in)
130 (:name |internalformat| :type |GLenum| :direction :in)
131 (:name |width| :type |SizeI| :direction :in)
132 (:name |height| :type |SizeI| :direction :in))
133 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
134 (defglextfun "GenRenderbuffersEXT" gen-renderbuffers-ext :return "void" :args
135 ((:name |n| :type |SizeI| :direction :in)
136 (:name |renderbuffers| :type |UInt32| :direction :out :array t :size n))
137 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
138 (defglextfun "DeleteRenderbuffersEXT" delete-renderbuffers-ext :return "void"
139 :args
140 ((:name |n| :type |SizeI| :direction :in)
141 (:name |renderbuffers| :type |UInt32| :direction :in :array t :size n))
142 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
143 (defglextfun "BindRenderbufferEXT" bind-renderbuffer-ext :return "void" :args
144 ((:name |target| :type |RenderbufferTarget| :direction :in)
145 (:name |renderbuffer| :type |UInt32| :direction :in))
146 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
147 (defglextfun "IsRenderbufferEXT" is-renderbuffer-ext :return "Boolean" :args
148 ((:name |renderbuffer| :type |UInt32| :direction :in)) :category
149 "EXT_framebuffer_object" :deprecated nil :version "1.2")
150 (make-extension-loader |EXT_framebuffer_object|
151 (("GenerateMipmapEXT" generate-mipmap-ext :return "void" :args
152 ((:name |target| :type |GLenum| :direction :in)) :category
153 "EXT_framebuffer_object" :deprecated nil :version "1.2")
154 ("GetFramebufferAttachmentParameterivEXT"
155 get-framebuffer-attachment-parameter-iv-ext :return "void" :args
156 ((:name |target| :type |FramebufferTarget| :direction :in)
157 (:name |attachment| :type |FramebufferAttachment| :direction :in)
158 (:name |pname| :type |GLenum| :direction :in)
159 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
160 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
161 ("FramebufferRenderbufferEXT" framebuffer-renderbuffer-ext :return "void"
162 :args
163 ((:name |target| :type |FramebufferTarget| :direction :in)
164 (:name |attachment| :type |FramebufferAttachment| :direction :in)
165 (:name |renderbuffertarget| :type |RenderbufferTarget| :direction :in)
166 (:name |renderbuffer| :type |UInt32| :direction :in))
167 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
168 ("FramebufferTexture3DEXT" framebuffer-texture-3d-ext :return "void" :args
169 ((:name |target| :type |FramebufferTarget| :direction :in)
170 (:name |attachment| :type |FramebufferAttachment| :direction :in)
171 (:name |textarget| :type |GLenum| :direction :in)
172 (:name |texture| :type |UInt32| :direction :in)
173 (:name |level| :type |Int32| :direction :in)
174 (:name |zoffset| :type |Int32| :direction :in))
175 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
176 ("FramebufferTexture2DEXT" framebuffer-texture-2d-ext :return "void" :args
177 ((:name |target| :type |FramebufferTarget| :direction :in)
178 (:name |attachment| :type |FramebufferAttachment| :direction :in)
179 (:name |textarget| :type |GLenum| :direction :in)
180 (:name |texture| :type |UInt32| :direction :in)
181 (:name |level| :type |Int32| :direction :in))
182 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
183 ("FramebufferTexture1DEXT" framebuffer-texture-1d-ext :return "void" :args
184 ((:name |target| :type |FramebufferTarget| :direction :in)
185 (:name |attachment| :type |FramebufferAttachment| :direction :in)
186 (:name |textarget| :type |GLenum| :direction :in)
187 (:name |texture| :type |UInt32| :direction :in)
188 (:name |level| :type |Int32| :direction :in))
189 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
190 ("CheckFramebufferStatusEXT" check-framebuffer-status-ext :return "GLenum"
191 :args ((:name |target| :type |FramebufferTarget| :direction :in)) :category
192 "EXT_framebuffer_object" :deprecated nil :version "1.2")
193 ("GenFramebuffersEXT" gen-framebuffers-ext :return "void" :args
194 ((:name |n| :type |SizeI| :direction :in)
195 (:name |framebuffers| :type |UInt32| :direction :out :array t :size n))
196 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
197 ("DeleteFramebuffersEXT" delete-framebuffers-ext :return "void" :args
198 ((:name |n| :type |SizeI| :direction :in)
199 (:name |framebuffers| :type |UInt32| :direction :in :array t :size n))
200 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
201 ("BindFramebufferEXT" bind-framebuffer-ext :return "void" :args
202 ((:name |target| :type |FramebufferTarget| :direction :in)
203 (:name |framebuffer| :type |UInt32| :direction :in))
204 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
205 ("IsFramebufferEXT" is-framebuffer-ext :return "Boolean" :args
206 ((:name |framebuffer| :type |UInt32| :direction :in)) :category
207 "EXT_framebuffer_object" :deprecated nil :version "1.2")
208 ("GetRenderbufferParameterivEXT" get-renderbuffer-parameter-iv-ext :return
209 "void" :args
210 ((:name |target| :type |RenderbufferTarget| :direction :in)
211 (:name |pname| :type |GLenum| :direction :in)
212 (:name |params| :type |Int32| :direction :out :array t :size (|pname|)))
213 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
214 ("RenderbufferStorageEXT" renderbuffer-storage-ext :return "void" :args
215 ((:name |target| :type |RenderbufferTarget| :direction :in)
216 (:name |internalformat| :type |GLenum| :direction :in)
217 (:name |width| :type |SizeI| :direction :in)
218 (:name |height| :type |SizeI| :direction :in))
219 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
220 ("GenRenderbuffersEXT" gen-renderbuffers-ext :return "void" :args
221 ((:name |n| :type |SizeI| :direction :in)
222 (:name |renderbuffers| :type |UInt32| :direction :out :array t :size n))
223 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
224 ("DeleteRenderbuffersEXT" delete-renderbuffers-ext :return "void" :args
225 ((:name |n| :type |SizeI| :direction :in)
226 (:name |renderbuffers| :type |UInt32| :direction :in :array t :size n))
227 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
228 ("BindRenderbufferEXT" bind-renderbuffer-ext :return "void" :args
229 ((:name |target| :type |RenderbufferTarget| :direction :in)
230 (:name |renderbuffer| :type |UInt32| :direction :in))
231 :category "EXT_framebuffer_object" :deprecated nil :version "1.2")
232 ("IsRenderbufferEXT" is-renderbuffer-ext :return "Boolean" :args
233 ((:name |renderbuffer| :type |UInt32| :direction :in)) :category
234 "EXT_framebuffer_object" :deprecated nil :version "1.2")))