home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / lib / site-packages / OpenGL / raw / GL / EXT / packed_float.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  838 b   |  21 lines

  1. '''OpenGL extension EXT.packed_float
  2.  
  3. The official definition of this extension is available here:
  4.     http://oss.sgi.com/projects/ogl-sample/registry/EXT/packed_float.txt
  5.  
  6. Automatically generated by the get_gl_extensions script, do not edit!
  7. '''
  8. from OpenGL import platform, constants, constant, arrays
  9. from OpenGL import extensions
  10. from OpenGL.GL import glget
  11. import ctypes
  12. EXTENSION_NAME = 'GL_EXT_packed_float'
  13. GL_R11F_G11F_B10F_EXT = constant.Constant( 'GL_R11F_G11F_B10F_EXT', 0x8C3A )
  14. GL_UNSIGNED_INT_10F_11F_11F_REV_EXT = constant.Constant( 'GL_UNSIGNED_INT_10F_11F_11F_REV_EXT', 0x8C3B )
  15. GL_RGBA_SIGNED_COMPONENTS_EXT = constant.Constant( 'GL_RGBA_SIGNED_COMPONENTS_EXT', 0x8C3C )
  16.  
  17.  
  18. def glInitPackedFloatEXT():
  19.     '''Return boolean indicating whether this extension is available'''
  20.     return extensions.hasGLExtension( EXTENSION_NAME )
  21.