| '''OpenGL extension EXT.float_blend | |
| This module customises the behaviour of the | |
| OpenGL.raw.GLES2.EXT.float_blend to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension expands upon the EXT_color_buffer_float extension | |
| to allow support for blending with 32-bit floating-point color | |
| buffers. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/EXT/float_blend.txt | |
| ''' | |
| from OpenGL import platform, constant, arrays | |
| from OpenGL import extensions, wrapper | |
| import ctypes | |
| from OpenGL.raw.GLES2 import _types, _glgets | |
| from OpenGL.raw.GLES2.EXT.float_blend import * | |
| from OpenGL.raw.GLES2.EXT.float_blend import _EXTENSION_NAME | |
| def glInitFloatBlendEXT(): | |
| '''Return boolean indicating whether this extension is available''' | |
| from OpenGL import extensions | |
| return extensions.hasGLExtension( _EXTENSION_NAME ) | |
| ### END AUTOGENERATED SECTION |