1'''OpenGL extension DFX.tbuffer 2 3This module customises the behaviour of the 4OpenGL.raw.GL.DFX.tbuffer to provide a more 5Python-friendly API 6 7Overview (from the spec) 8 9 This extension allows a write mask to be defined for the fragment 10 mask which is created during multisample rendering. This can be used 11 to create effects such as motion blur and depth of field. 12 13The official definition of this extension is available here: 14http://www.opengl.org/registry/specs/DFX/tbuffer.txt 15''' 16from OpenGL import platform, constant, arrays 17from OpenGL import extensions, wrapper 18import ctypes 19from OpenGL.raw.GL import _types, _glgets 20from OpenGL.raw.GL.DFX.tbuffer import * 21from OpenGL.raw.GL.DFX.tbuffer import _EXTENSION_NAME 22 23def glInitTbufferDFX(): 24 '''Return boolean indicating whether this extension is available''' 25 from OpenGL import extensions 26 return extensions.hasGLExtension( _EXTENSION_NAME ) 27 28 29### END AUTOGENERATED SECTION