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 / index_texture.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  976 b   |  30 lines

  1. '''OpenGL extension EXT.index_texture
  2.  
  3. Overview (from the spec)
  4.     
  5.     This extends the definition of texturing so that it is supported
  6.     in color index mode.  This extension builds on the notion of
  7.     texture images which have color index internal formats which was
  8.     introduced in EXT_paletted_texture.
  9.     
  10.     This extension also introduces a new texture environment function
  11.     ADD which is useful for combining lighting and texturing in
  12.     color index mode.
  13.  
  14. The official definition of this extension is available here:
  15.     http://oss.sgi.com/projects/ogl-sample/registry/EXT/index_texture.txt
  16.  
  17. Automatically generated by the get_gl_extensions script, do not edit!
  18. '''
  19. from OpenGL import platform, constants, constant, arrays
  20. from OpenGL import extensions
  21. from OpenGL.GL import glget
  22. import ctypes
  23. EXTENSION_NAME = 'GL_EXT_index_texture'
  24.  
  25.  
  26.  
  27. def glInitIndexTextureEXT():
  28.     '''Return boolean indicating whether this extension is available'''
  29.     return extensions.hasGLExtension( EXTENSION_NAME )
  30.