This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



GLGETCONVOLUTIONPARAMETER(3G)                                                  GLGETCONVOLUTIONPARAMETER(3G)



NAME
       glGetConvolutionParameterfv, glGetConvolutionParameteriv - get convolution parameters


C SPECIFICATION
       void glGetConvolutionParameterfv( GLenum target,
                                         GLenum pname,
                                         GLfloat *params )
       void glGetConvolutionParameteriv( GLenum target,
                                         GLenum pname,
                                         GLint *params )


PARAMETERS
       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.

DESCRIPTION
       glGetConvolutionParameter retrieves convolution parameters.  target determines which convolution fil-ter filter
       ter is queried.  pname determines which parameter 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.  params 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.   params 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.  params 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    .    See   glConvolutionFilter1D,   glConvolutionFilter2D,   and
              glSeparableFilter2D for lists of allowable formats.

       GL_CONVOLUTION_WIDTH
              The current filter image width.

       GL_CONVOLUTION_HEIGHT
              The current filter image height.

       GL_MAX_CONVOLUTION_WIDTH
              The maximum acceptable filter image width.

       GL_MAX_CONVOLUTION_HEIGHT
              The maximum acceptable filter image height.

ERRORS
       GL_INVALID_ENUM is generated if target is not one of the allowable values.

       GL_INVALID_ENUM is generated if pname is not one of the allowable values.

       GL_INVALID_ENUM is generated if target is GL_CONVOLUTION_1D and  pname  is  GL_CONVOLUTION_HEIGHT  or
       GL_MAX_CONVOLUTION_HEIGHT.

       GL_INVALID_OPERATION  is  generated if glGetConvolutionParameter is executed between the execution of
       glBegin and the corresponding execution of glEnd.

SEE ALSO
       glGetConvolutionFilter(3G), glGetSeparableFilter2D(3G), glConvolutionParameter(3G)




                                                                               GLGETCONVOLUTIONPARAMETER(3G)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenGL project.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...