1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_SGIX_subsample'
_p.unpack_constants( """GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4""", globals())
def glInitSubsampleSGIX():
'''Return boolean indicating whether this extension is available'''
from OpenGL import extensions
return extensions.hasGLExtension( EXTENSION_NAME )
|