~matobet/pyopengl/Python3

« back to all changes in this revision

Viewing changes to GL/EXT/convolution.py

  • Committer: matobet at gmail
  • Date: 2010-06-26 14:11:04 UTC
  • Revision ID: matobet@gmail.com-20100626141104-k011ofmltgiiu60g
Initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''OpenGL extension EXT.convolution
 
2
 
 
3
This module customises the behaviour of the 
 
4
OpenGL.raw.GL.EXT.convolution to provide a more 
 
5
Python-friendly API
 
6
 
 
7
Overview (from the spec)
 
8
        
 
9
        This extension defines 1 and 2 dimensional convolution operations
 
10
        at a fixed location in the pixel transfer process.  Thus pixel drawing,
 
11
        reading, and copying, as well as texture image definition, are all
 
12
        candidates for convolution.  The convolution kernels are themselves
 
13
        treated as 1 and 2 dimensional images, which can be loaded from
 
14
        application memory or from the framebuffer.
 
15
        
 
16
        This extension is designed to accommodate 3D convolution, but the
 
17
        API is left for a future extension.
 
18
 
 
19
The official definition of this extension is available here:
 
20
http://www.opengl.org/registry/specs/EXT/convolution.txt
 
21
'''
 
22
from OpenGL import platform, constants, constant, arrays
 
23
from OpenGL import extensions, wrapper
 
24
from OpenGL.GL import glget
 
25
import ctypes
 
26
from OpenGL.raw.GL.EXT.convolution import *
 
27
### END AUTOGENERATED SECTION
 
 
b'\\ No newline at end of file'