1'''Autogenerated by xml_generate script, do not edit!'''
2from OpenGL import platform as _p, arrays
3# Code generation uses this
4from OpenGL.raw.GL import _types as _cs
5# End users want this...
6from OpenGL.raw.GL._types import *
7from OpenGL.raw.GL import _errors
8from OpenGL.constant import Constant as _C
9
10import ctypes
11_EXTENSION_NAME = 'GL_ARB_direct_state_access'
12def _f( function ):
13    return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_direct_state_access',error_checker=_errors._error_checker)
14GL_QUERY_TARGET=_C('GL_QUERY_TARGET',0x82EA)
15GL_TEXTURE_BINDING_1D=_C('GL_TEXTURE_BINDING_1D',0x8068)
16GL_TEXTURE_BINDING_1D_ARRAY=_C('GL_TEXTURE_BINDING_1D_ARRAY',0x8C1C)
17GL_TEXTURE_BINDING_2D=_C('GL_TEXTURE_BINDING_2D',0x8069)
18GL_TEXTURE_BINDING_2D_ARRAY=_C('GL_TEXTURE_BINDING_2D_ARRAY',0x8C1D)
19GL_TEXTURE_BINDING_2D_MULTISAMPLE=_C('GL_TEXTURE_BINDING_2D_MULTISAMPLE',0x9104)
20GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY=_C('GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY',0x9105)
21GL_TEXTURE_BINDING_3D=_C('GL_TEXTURE_BINDING_3D',0x806A)
22GL_TEXTURE_BINDING_BUFFER=_C('GL_TEXTURE_BINDING_BUFFER',0x8C2C)
23GL_TEXTURE_BINDING_CUBE_MAP=_C('GL_TEXTURE_BINDING_CUBE_MAP',0x8514)
24GL_TEXTURE_BINDING_CUBE_MAP_ARRAY=_C('GL_TEXTURE_BINDING_CUBE_MAP_ARRAY',0x900A)
25GL_TEXTURE_BINDING_RECTANGLE=_C('GL_TEXTURE_BINDING_RECTANGLE',0x84F6)
26GL_TEXTURE_TARGET=_C('GL_TEXTURE_TARGET',0x1006)
27@_f
28@_p.types(None,_cs.GLuint,_cs.GLuint)
29def glBindTextureUnit(unit,texture):pass
30@_f
31@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLbitfield,_cs.GLenum)
32def glBlitNamedFramebuffer(readFramebuffer,drawFramebuffer,srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter):pass
33@_f
34@_p.types(_cs.GLenum,_cs.GLuint,_cs.GLenum)
35def glCheckNamedFramebufferStatus(framebuffer,target):pass
36@_f
37@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
38def glClearNamedBufferData(buffer,internalformat,format,type,data):pass
39@_f
40@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
41def glClearNamedBufferSubData(buffer,internalformat,offset,size,format,type,data):pass
42@_f
43@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint,_cs.GLfloat,_cs.GLint)
44def glClearNamedFramebufferfi(framebuffer,buffer,drawbuffer,depth,stencil):pass
45@_f
46@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint,arrays.GLfloatArray)
47def glClearNamedFramebufferfv(framebuffer,buffer,drawbuffer,value):pass
48@_f
49@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint,arrays.GLintArray)
50def glClearNamedFramebufferiv(framebuffer,buffer,drawbuffer,value):pass
51@_f
52@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint,arrays.GLuintArray)
53def glClearNamedFramebufferuiv(framebuffer,buffer,drawbuffer,value):pass
54@_f
55@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
56def glCompressedTextureSubImage1D(texture,level,xoffset,width,format,imageSize,data):pass
57@_f
58@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
59def glCompressedTextureSubImage2D(texture,level,xoffset,yoffset,width,height,format,imageSize,data):pass
60@_f
61@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
62def glCompressedTextureSubImage3D(texture,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data):pass
63@_f
64@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLintptr,_cs.GLintptr,_cs.GLsizeiptr)
65def glCopyNamedBufferSubData(readBuffer,writeBuffer,readOffset,writeOffset,size):pass
66@_f
67@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei)
68def glCopyTextureSubImage1D(texture,level,xoffset,x,y,width):pass
69@_f
70@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei)
71def glCopyTextureSubImage2D(texture,level,xoffset,yoffset,x,y,width,height):pass
72@_f
73@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei)
74def glCopyTextureSubImage3D(texture,level,xoffset,yoffset,zoffset,x,y,width,height):pass
75@_f
76@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
77def glCreateBuffers(n,buffers):pass
78@_f
79@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
80def glCreateFramebuffers(n,framebuffers):pass
81@_f
82@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
83def glCreateProgramPipelines(n,pipelines):pass
84@_f
85@_p.types(None,_cs.GLenum,_cs.GLsizei,arrays.GLuintArray)
86def glCreateQueries(target,n,ids):pass
87@_f
88@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
89def glCreateRenderbuffers(n,renderbuffers):pass
90@_f
91@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
92def glCreateSamplers(n,samplers):pass
93@_f
94@_p.types(None,_cs.GLenum,_cs.GLsizei,arrays.GLuintArray)
95def glCreateTextures(target,n,textures):pass
96@_f
97@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
98def glCreateTransformFeedbacks(n,ids):pass
99@_f
100@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
101def glCreateVertexArrays(n,arrays):pass
102@_f
103@_p.types(None,_cs.GLuint,_cs.GLuint)
104def glDisableVertexArrayAttrib(vaobj,index):pass
105@_f
106@_p.types(None,_cs.GLuint,_cs.GLuint)
107def glEnableVertexArrayAttrib(vaobj,index):pass
108@_f
109@_p.types(None,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr)
110def glFlushMappedNamedBufferRange(buffer,offset,length):pass
111@_f
112@_p.types(None,_cs.GLuint)
113def glGenerateTextureMipmap(texture):pass
114@_f
115@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLsizei,ctypes.c_void_p)
116def glGetCompressedTextureImage(texture,level,bufSize,pixels):pass
117@_f
118@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLint64Array)
119def glGetNamedBufferParameteri64v(buffer,pname,params):pass
120@_f
121@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
122def glGetNamedBufferParameteriv(buffer,pname,params):pass
123@_f
124@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLvoidpArray)
125def glGetNamedBufferPointerv(buffer,pname,params):pass
126@_f
127@_p.types(None,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr,ctypes.c_void_p)
128def glGetNamedBufferSubData(buffer,offset,size,data):pass
129@_f
130@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLenum,arrays.GLintArray)
131def glGetNamedFramebufferAttachmentParameteriv(framebuffer,attachment,pname,params):pass
132@_f
133@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
134def glGetNamedFramebufferParameteriv(framebuffer,pname,param):pass
135@_f
136@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
137def glGetNamedRenderbufferParameteriv(renderbuffer,pname,params):pass
138@_f
139@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,_cs.GLintptr)
140def glGetQueryBufferObjecti64v(id,buffer,pname,offset):pass
141@_f
142@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,_cs.GLintptr)
143def glGetQueryBufferObjectiv(id,buffer,pname,offset):pass
144@_f
145@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,_cs.GLintptr)
146def glGetQueryBufferObjectui64v(id,buffer,pname,offset):pass
147@_f
148@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,_cs.GLintptr)
149def glGetQueryBufferObjectuiv(id,buffer,pname,offset):pass
150@_f
151@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
152def glGetTextureImage(texture,level,format,type,bufSize,pixels):pass
153@_f
154@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLenum,arrays.GLfloatArray)
155def glGetTextureLevelParameterfv(texture,level,pname,params):pass
156@_f
157@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLenum,arrays.GLintArray)
158def glGetTextureLevelParameteriv(texture,level,pname,params):pass
159@_f
160@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
161def glGetTextureParameterIiv(texture,pname,params):pass
162@_f
163@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLuintArray)
164def glGetTextureParameterIuiv(texture,pname,params):pass
165@_f
166@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
167def glGetTextureParameterfv(texture,pname,params):pass
168@_f
169@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
170def glGetTextureParameteriv(texture,pname,params):pass
171@_f
172@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,arrays.GLint64Array)
173def glGetTransformFeedbacki64_v(xfb,pname,index,param):pass
174@_f
175@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,arrays.GLintArray)
176def glGetTransformFeedbacki_v(xfb,pname,index,param):pass
177@_f
178@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
179def glGetTransformFeedbackiv(xfb,pname,param):pass
180@_f
181@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,arrays.GLint64Array)
182def glGetVertexArrayIndexed64iv(vaobj,index,pname,param):pass
183@_f
184@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
185def glGetVertexArrayIndexediv(vaobj,index,pname,param):pass
186@_f
187@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
188def glGetVertexArrayiv(vaobj,pname,param):pass
189@_f
190@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray)
191def glInvalidateNamedFramebufferData(framebuffer,numAttachments,attachments):pass
192@_f
193@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei)
194def glInvalidateNamedFramebufferSubData(framebuffer,numAttachments,attachments,x,y,width,height):pass
195@_f
196@_p.types(ctypes.c_void_p,_cs.GLuint,_cs.GLenum)
197def glMapNamedBuffer(buffer,access):pass
198@_f
199@_p.types(ctypes.c_void_p,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr,_cs.GLbitfield)
200def glMapNamedBufferRange(buffer,offset,length,access):pass
201@_f
202@_p.types(None,_cs.GLuint,_cs.GLsizeiptr,ctypes.c_void_p,_cs.GLenum)
203def glNamedBufferData(buffer,size,data,usage):pass
204@_f
205@_p.types(None,_cs.GLuint,_cs.GLsizeiptr,ctypes.c_void_p,_cs.GLbitfield)
206def glNamedBufferStorage(buffer,size,data,flags):pass
207@_f
208@_p.types(None,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr,ctypes.c_void_p)
209def glNamedBufferSubData(buffer,offset,size,data):pass
210@_f
211@_p.types(None,_cs.GLuint,_cs.GLenum)
212def glNamedFramebufferDrawBuffer(framebuffer,buf):pass
213@_f
214@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray)
215def glNamedFramebufferDrawBuffers(framebuffer,n,bufs):pass
216@_f
217@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint)
218def glNamedFramebufferParameteri(framebuffer,pname,param):pass
219@_f
220@_p.types(None,_cs.GLuint,_cs.GLenum)
221def glNamedFramebufferReadBuffer(framebuffer,src):pass
222@_f
223@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLenum,_cs.GLuint)
224def glNamedFramebufferRenderbuffer(framebuffer,attachment,renderbuffertarget,renderbuffer):pass
225@_f
226@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLint)
227def glNamedFramebufferTexture(framebuffer,attachment,texture,level):pass
228@_f
229@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLint,_cs.GLint)
230def glNamedFramebufferTextureLayer(framebuffer,attachment,texture,level,layer):pass
231@_f
232@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,_cs.GLsizei)
233def glNamedRenderbufferStorage(renderbuffer,internalformat,width,height):pass
234@_f
235@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,_cs.GLsizei)
236def glNamedRenderbufferStorageMultisample(renderbuffer,samples,internalformat,width,height):pass
237@_f
238@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint)
239def glTextureBuffer(texture,internalformat,buffer):pass
240@_f
241@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr)
242def glTextureBufferRange(texture,internalformat,buffer,offset,size):pass
243@_f
244@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
245def glTextureParameterIiv(texture,pname,params):pass
246@_f
247@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLuintArray)
248def glTextureParameterIuiv(texture,pname,params):pass
249@_f
250@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLfloat)
251def glTextureParameterf(texture,pname,param):pass
252@_f
253@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLfloatArray)
254def glTextureParameterfv(texture,pname,param):pass
255@_f
256@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint)
257def glTextureParameteri(texture,pname,param):pass
258@_f
259@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
260def glTextureParameteriv(texture,pname,param):pass
261@_f
262@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei)
263def glTextureStorage1D(texture,levels,internalformat,width):pass
264@_f
265@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,_cs.GLsizei)
266def glTextureStorage2D(texture,levels,internalformat,width,height):pass
267@_f
268@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
269def glTextureStorage2DMultisample(texture,samples,internalformat,width,height,fixedsamplelocations):pass
270@_f
271@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei)
272def glTextureStorage3D(texture,levels,internalformat,width,height,depth):pass
273@_f
274@_p.types(None,_cs.GLuint,_cs.GLsizei,_cs.GLenum,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLboolean)
275def glTextureStorage3DMultisample(texture,samples,internalformat,width,height,depth,fixedsamplelocations):pass
276@_f
277@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
278def glTextureSubImage1D(texture,level,xoffset,width,format,type,pixels):pass
279@_f
280@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
281def glTextureSubImage2D(texture,level,xoffset,yoffset,width,height,format,type,pixels):pass
282@_f
283@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLsizei,_cs.GLsizei,_cs.GLsizei,_cs.GLenum,_cs.GLenum,ctypes.c_void_p)
284def glTextureSubImage3D(texture,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels):pass
285@_f
286@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint)
287def glTransformFeedbackBufferBase(xfb,index,buffer):pass
288@_f
289@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLintptr,_cs.GLsizeiptr)
290def glTransformFeedbackBufferRange(xfb,index,buffer,offset,size):pass
291@_f
292@_p.types(_cs.GLboolean,_cs.GLuint)
293def glUnmapNamedBuffer(buffer):pass
294@_f
295@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint)
296def glVertexArrayAttribBinding(vaobj,attribindex,bindingindex):pass
297@_f
298@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLboolean,_cs.GLuint)
299def glVertexArrayAttribFormat(vaobj,attribindex,size,type,normalized,relativeoffset):pass
300@_f
301@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLuint)
302def glVertexArrayAttribIFormat(vaobj,attribindex,size,type,relativeoffset):pass
303@_f
304@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLuint)
305def glVertexArrayAttribLFormat(vaobj,attribindex,size,type,relativeoffset):pass
306@_f
307@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint)
308def glVertexArrayBindingDivisor(vaobj,bindingindex,divisor):pass
309@_f
310@_p.types(None,_cs.GLuint,_cs.GLuint)
311def glVertexArrayElementBuffer(vaobj,buffer):pass
312@_f
313@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLintptr,_cs.GLsizei)
314def glVertexArrayVertexBuffer(vaobj,bindingindex,buffer,offset,stride):pass
315@_f
316@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLuintArray,ctypes.POINTER(_cs.GLintptr),arrays.GLsizeiArray)
317def glVertexArrayVertexBuffers(vaobj,first,count,buffers,offsets,strides):pass
318