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 / GL / VERSION / GL_1_2.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  676 b   |  21 lines

  1. '''OpenGL extension VERSION.GL_1_2
  2.  
  3. This module customises the behaviour of the 
  4. OpenGL.raw.GL.VERSION.GL_1_2 to provide a more 
  5. Python-friendly API
  6. '''
  7. from OpenGL import platform, constants, constant, arrays
  8. from OpenGL import extensions, wrapper
  9. from OpenGL.GL import glget
  10. import ctypes
  11. from OpenGL.raw.GL.VERSION.GL_1_2 import *
  12. ### END AUTOGENERATED SECTION
  13. from OpenGL.GL.VERSION.GL_1_2_images import *
  14.  
  15. glDrawRangeElements = wrapper.wrapper( simple.glDrawRangeElements ).setPyConverter(
  16.     'indices', arrays.AsArrayOfType( 'indices', 'type' ),
  17. ).setCResolver(
  18.     'indices', arrays.ArrayDatatype.voidDataPointer ,
  19. ).setReturnValues(
  20.     wrapper.returnPyArgument( 'indices' )
  21. )