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 / INGR / interlace_read.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  956 b   |  27 lines

  1. '''OpenGL extension INGR.interlace_read
  2.  
  3. Overview (from the spec)
  4.     
  5.     This extension provides a way to skip rows of pixels when reading
  6.     or copying pixel rectangles.  This extension is complementary to
  7.     the EXT_interlace extension except that it has no affect on getting
  8.     texture images.
  9.  
  10. The official definition of this extension is available here:
  11.     http://oss.sgi.com/projects/ogl-sample/registry/INGR/interlace_read.txt
  12.  
  13. Automatically generated by the get_gl_extensions script, do not edit!
  14. '''
  15. from OpenGL import platform, constants, constant, arrays
  16. from OpenGL import extensions
  17. from OpenGL.GL import glget
  18. import ctypes
  19. EXTENSION_NAME = 'GL_INGR_interlace_read'
  20. GL_INTERLACE_READ_INGR = constant.Constant( 'GL_INTERLACE_READ_INGR', 0x8568 )
  21. glget.addGLGetConstant( GL_INTERLACE_READ_INGR, (1,) )
  22.  
  23.  
  24. def glInitInterlaceReadINGR():
  25.     '''Return boolean indicating whether this extension is available'''
  26.     return extensions.hasGLExtension( EXTENSION_NAME )
  27.