set convolution parameters
Signature
glConvolutionParameter(
)->
glConvolutionParameterf(
GLenum (
target
)
,
GLenum (
pname
)
,
GLfloat (
params
)
)-> void
glConvolutionParameterfv(
GLenum (
target
)
,
GLenum (
pname
)
,
const GLfloat * (
params
)
)-> void
glConvolutionParameteri(
GLenum (
target
)
,
GLenum (
pname
)
,
GLint (
params
)
)-> void
glConvolutionParameteriv(
GLenum (
target
)
,
GLenum (
pname
)
,
const GLint * (
params
)
)-> void
Parameters
Variables | Description |
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.