glGetConvolutionParameter

get convolution parameters

Signature

glGetConvolutionParameter( )->
glGetConvolutionParameterfv( GLenum ( target ) , GLenum ( pname ) , GLfloat * ( params ) )-> void
glGetConvolutionParameterfv( target , pname , params )
glGetConvolutionParameteriv( GLenum ( target ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetConvolutionParameteriv( target , pname , params )

Parameters

VariablesDescription
target
The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D , GL_CONVOLUTION_2D , or GL_SEPARABLE_2D .
pname
The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE , GL_CONVOLUTION_BORDER_COLOR , GL_CONVOLUTION_FILTER_SCALE , GL_CONVOLUTION_FILTER_BIAS , GL_CONVOLUTION_FORMAT , GL_CONVOLUTION_WIDTH , GL_CONVOLUTION_HEIGHT , GL_MAX_CONVOLUTION_WIDTH , or GL_MAX_CONVOLUTION_HEIGHT .
params
Pointer to storage for the parameters to be retrieved.

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.

glGetConvolutionParameteriv
OpenGLContext tests/nehe6_convolve.py Lines: 111, 114