OpenGL.GL.EXT.convolution
OpenGL extension EXT.convolution
This module customises the behaviour of the
OpenGL.raw.GL.EXT.convolution to provide a more
Python-friendly API
Overview (from the spec)
This extension defines 1 and 2 dimensional convolution operations
at a fixed location in the pixel transfer process. Thus pixel drawing,
reading, and copying, as well as texture image definition, are all
candidates for convolution. The convolution kernels are themselves
treated as 1 and 2 dimensional images, which can be loaded from
application memory or from the framebuffer.
This extension is designed to accommodate 3D convolution, but the
API is left for a future extension.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/convolution.txt
Functions
Constants
GL_CONVOLUTION_1D_EXT (32784)
GL_CONVOLUTION_2D_EXT (32785)
GL_CONVOLUTION_BORDER_MODE_EXT (32787)
GL_CONVOLUTION_FILTER_BIAS_EXT (32789)
GL_CONVOLUTION_FILTER_SCALE_EXT (32788)
GL_CONVOLUTION_FORMAT_EXT (32791)
GL_CONVOLUTION_HEIGHT_EXT (32793)
GL_CONVOLUTION_WIDTH_EXT (32792)
GL_MAX_CONVOLUTION_HEIGHT_EXT (32795)
GL_MAX_CONVOLUTION_WIDTH_EXT (32794)
GL_POST_CONVOLUTION_ALPHA_BIAS_EXT (32803)
GL_POST_CONVOLUTION_ALPHA_SCALE_EXT (32799)
GL_POST_CONVOLUTION_BLUE_BIAS_EXT (32802)
GL_POST_CONVOLUTION_BLUE_SCALE_EXT (32798)
GL_POST_CONVOLUTION_GREEN_BIAS_EXT (32801)
GL_POST_CONVOLUTION_GREEN_SCALE_EXT (32797)
GL_POST_CONVOLUTION_RED_BIAS_EXT (32800)
GL_POST_CONVOLUTION_RED_SCALE_EXT (32796)
GL_REDUCE_EXT (32790)
GL_SEPARABLE_2D_EXT (32786)