void GLAPIENTRY glGetConvolutionParameterfv( GLenum target,
GLenum pnam )
void GLAPIENTRY glGetConvolutionParameteriv( GLenum target,
GLenum pnam )
PARAMETERS
target The filter whose parameters are to be retrieved. Must be one of
GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D.
pnam 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.
_param3 Pointer to storage for the parameters to be retrieved.
DESCRIPTION
glGetConvolutionParameter retrieves convolution parameters. target de‐
termines which convolution filter is queried. pnam determines which pa‐
rameter is returned:
GL_CONVOLUTION_BORDER_MODE
The convolution border mode. See glConvolutionParameter for a
list of border modes.
GL_CONVOLUTION_BORDER_COLOR
The current convolution border color. _param3 must be a pointer
to an array of four elements, which will receive the red, green,
blue, and alpha border colors.
GL_CONVOLUTION_FILTER_SCALE
The current filter scale factors. _param3 must be a pointer to
an array of four elements, which will receive the red, green,
blue, and alpha filter scale factors in that order.
GL_CONVOLUTION_FILTER_BIAS
The current filter bias factors. _param3 must be a pointer to an
array of four elements, which will receive the red, green, blue,
and alpha filter bias terms in that order.
GL_CONVOLUTION_FORMAT
The current internal format. See glConvolutionFilter1D,
glConvolutionFilter2D, and glSeparableFilter2D for lists of al‐
lowable formats.
GL_CONVOLUTION_WIDTH
The current filter image width.
GL_CONVOLUTION_HEIGHT
The current filter image height.
GL_CONVOLUTION_HEIGHT or GL_MAX_CONVOLUTION_HEIGHT.
GL_INVALID_OPERATION is generated if glGetConvolutionParameter is exe‐
cuted between the execution of glBegin and the corresponding execution
of glEnd.
SEE ALSO
glGetConvolutionFilter, glGetSeparableFilter2D, glConvolutionParameter
GLGETCONVOLUTIONPARAMETER(3G)
Man(1) output converted with
man2html