| 1 |
'''OpenGL extension SGIS.blended_overlay |
| 2 |
|
| 3 |
This module customises the behaviour of the |
| 4 |
OpenGL.raw.GLX.SGIS.blended_overlay 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/SGIS/blended_overlay.txt |
| 9 |
''' |
| 10 |
from OpenGL import platform, constant, arrays |
| 11 |
from OpenGL import extensions, wrapper |
| 12 |
import ctypes |
| 13 |
from OpenGL.raw.GLX import _types, _glgets |
| 14 |
from OpenGL.raw.GLX.SGIS.blended_overlay import * |
| 15 |
from OpenGL.raw.GLX.SGIS.blended_overlay import _EXTENSION_NAME |
| 16 |
|
| 17 |
def glInitBlendedOverlaySGIS(): |
| 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 |