File: s3tc.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 (16 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_S3_s3tc'
_p.unpack_constants( """GL_RGB_S3TC 0x83A0
GL_RGB4_S3TC 0x83A1
GL_RGBA_S3TC 0x83A2
GL_RGBA4_S3TC 0x83A3
GL_RGBA_DXT5_S3TC 0x83A4
GL_RGBA4_DXT5_S3TC 0x83A5""", globals())


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