glConvolutionParameter

set convolution parameters

Signature

glConvolutionParameter( )->
glConvolutionParameterf( GLenum ( target ) , GLenum ( pname ) , GLfloat ( params ) )-> void
glConvolutionParameterf( target , pname , params )
glConvolutionParameterfv( GLenum ( target ) , GLenum ( pname ) , const GLfloat * ( params ) )-> void
glConvolutionParameterfv( target , pname , params )
glConvolutionParameteri( GLenum ( target ) , GLenum ( pname ) , GLint ( params ) )-> void
glConvolutionParameteri( target , pname , params )
glConvolutionParameteriv( GLenum ( target ) , GLenum ( pname ) , const GLint * ( params ) )-> void
glConvolutionParameteriv( target , pname , params )

Parameters

VariablesDescription
target
The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D , GL_CONVOLUTION_2D , or GL_SEPARABLE_2D .
pname
The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE .
params
The parameter value. Must be one of GL_REDUCE , GL_CONSTANT_BORDER , GL_REPLICATE_BORDER .

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glConvolutionParameteri
OpenGLContext tests/nehe6_convolve.py Lines: 106