File: vertex_attrib_64bit.py

package info (click to toggle)
pyopengl 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,936 kB
  • ctags: 9,720
  • sloc: python: 49,408; makefile: 3
file content (58 lines) | stat: -rw-r--r-- 2,134 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_vertex_attrib_64bit'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_EXT_vertex_attrib_64bit',False)
_p.unpack_constants( """GL_DOUBLE_VEC2_EXT 0x8FFC
GL_DOUBLE_VEC3_EXT 0x8FFD
GL_DOUBLE_VEC4_EXT 0x8FFE
GL_DOUBLE_MAT2_EXT 0x8F46
GL_DOUBLE_MAT3_EXT 0x8F47
GL_DOUBLE_MAT4_EXT 0x8F48
GL_DOUBLE_MAT2x3_EXT 0x8F49
GL_DOUBLE_MAT2x4_EXT 0x8F4A
GL_DOUBLE_MAT3x2_EXT 0x8F4B
GL_DOUBLE_MAT3x4_EXT 0x8F4C
GL_DOUBLE_MAT4x2_EXT 0x8F4D
GL_DOUBLE_MAT4x3_EXT 0x8F4E""", globals())
@_f
@_p.types(None,_cs.GLuint,_cs.GLdouble)
def glVertexAttribL1dEXT( index,x ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLdouble,_cs.GLdouble)
def glVertexAttribL2dEXT( index,x,y ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLdouble,_cs.GLdouble,_cs.GLdouble)
def glVertexAttribL3dEXT( index,x,y,z ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLdouble,_cs.GLdouble,_cs.GLdouble,_cs.GLdouble)
def glVertexAttribL4dEXT( index,x,y,z,w ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLdoubleArray)
def glVertexAttribL1dvEXT( index,v ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLdoubleArray)
def glVertexAttribL2dvEXT( index,v ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLdoubleArray)
def glVertexAttribL3dvEXT( index,v ):pass
@_f
@_p.types(None,_cs.GLuint,arrays.GLdoubleArray)
def glVertexAttribL4dvEXT( index,v ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLsizei,ctypes.c_void_p)
def glVertexAttribLPointerEXT( index,size,type,stride,pointer ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLdoubleArray)
def glGetVertexAttribLdvEXT( index,pname,params ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLuint,_cs.GLint,_cs.GLenum,_cs.GLsizei,_cs.GLintptr)
def glVertexArrayVertexAttribLOffsetEXT( vaobj,buffer,index,size,type,stride,offset ):pass


def glInitVertexAttrib64BitEXT():
    '''Return boolean indicating whether this extension is available'''
    from OpenGL import extensions
    return extensions.hasGLExtension( EXTENSION_NAME )