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 / shadow_funcs.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  749 b   |  25 lines

  1. '''OpenGL extension EXT.shadow_funcs
  2.  
  3. Overview (from the spec)
  4.     
  5.     This extension generalizes the GL_ARB_shadow extension to support all
  6.     eight binary texture comparison functions rather than just GL_LEQUAL
  7.     and GL_GEQUAL.
  8.  
  9. The official definition of this extension is available here:
  10.     http://oss.sgi.com/projects/ogl-sample/registry/EXT/shadow_funcs.txt
  11.  
  12. Automatically generated by the get_gl_extensions script, do not edit!
  13. '''
  14. from OpenGL import platform, constants, constant, arrays
  15. from OpenGL import extensions
  16. from OpenGL.GL import glget
  17. import ctypes
  18. EXTENSION_NAME = 'GL_EXT_shadow_funcs'
  19.  
  20.  
  21.  
  22. def glInitShadowFuncsEXT():
  23.     '''Return boolean indicating whether this extension is available'''
  24.     return extensions.hasGLExtension( EXTENSION_NAME )
  25.