File: index_array_formats.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 (18 lines) | stat: -rw-r--r-- 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_EXT_index_array_formats'
_p.unpack_constants( """GL_IUI_V2F_EXT 0x81AD
GL_IUI_V3F_EXT 0x81AE
GL_IUI_N3F_V2F_EXT 0x81AF
GL_IUI_N3F_V3F_EXT 0x81B0
GL_T2F_IUI_V2F_EXT 0x81B1
GL_T2F_IUI_V3F_EXT 0x81B2
GL_T2F_IUI_N3F_V2F_EXT 0x81B3
GL_T2F_IUI_N3F_V3F_EXT 0x81B4""", globals())


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