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 / arrays / __init__.py next >
Encoding:
Python Source  |  2008-12-07  |  576 b   |  21 lines

  1. """Abstraction point for handling of data-pointers in OpenGL
  2.  
  3. The purpose of this package is to allow for the registration and dispatch
  4. of handlers for different data-types in such a way that you can add new
  5. data-types to the set of types which PyOpenGL will handle as arguments
  6. to functions requiring typed pointers.
  7.  
  8. Possible data types:
  9.     Numpy arrays
  10.     Numarray arrays
  11.     PyGame surfaces
  12.     PyMedia buffers
  13.     Python buffer-objects
  14.     Memory-mapped files
  15.     PIL images
  16. """
  17. import ctypes
  18. import OpenGL
  19. from OpenGL.arrays.arraydatatype import *
  20. from OpenGL.arrays.arrayhelpers import *
  21.