Debian Codegraph @

OpenGL/EGL/HI/colorformats.py

raw symbols SCIP
1 '''OpenGL extension HI.colorformats
2
3 This module customises the behaviour of the
4 OpenGL.raw.EGL.HI.colorformats to provide a more
5 Python-friendly API
6
7 The official definition of this extension is available here:
8 http://www.opengl.org/registry/specs/HI/colorformats.txt
9 '''
10 from OpenGL import platform, constant, arrays
11 from OpenGL import extensions, wrapper
12 import ctypes
13 from OpenGL.raw.EGL import _types, _glgets
14 from OpenGL.raw.EGL.HI.colorformats import *
15 from OpenGL.raw.EGL.HI.colorformats import _EXTENSION_NAME
16
17 def glInitColorformatsHI():
18 '''Return boolean indicating whether this extension is available'''
19 from OpenGL import extensions
20 return extensions.hasGLExtension( _EXTENSION_NAME )
21
22
23 ### END AUTOGENERATED SECTION