File: __init__.py

package info (click to toggle)
pyopengl 3.0.0~b6-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,696 kB
  • ctags: 26,182
  • sloc: python: 34,233; ansic: 70; sh: 26; makefile: 15
file content (20 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Abstraction point for handling of data-pointers in OpenGL

The purpose of this package is to allow for the registration and dispatch
of handlers for different data-types in such a way that you can add new
data-types to the set of types which PyOpenGL will handle as arguments
to functions requiring typed pointers.

Possible data types:
	Numpy arrays
	Numarray arrays
	PyGame surfaces
	PyMedia buffers
	Python buffer-objects
	Memory-mapped files
	PIL images
"""
import ctypes
import OpenGL
from OpenGL.arrays.arraydatatype import *
from OpenGL.arrays.arrayhelpers import *