*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL/glgetconvolutionparameter (3)              
Title
Content
Arch
Section
 

Contents


glGetConvolutionParameter(3G)  OpenGL Reference	 glGetConvolutionParameter(3G)


NAME    [Toc]    [Back]

     glGetConvolutionParameterfv, glGetConvolutionParameteriv -	get
     convolution parameters

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

     glGetConvolutionParameter retrieves convolution parameters.  target
     determines	which convolution filter is queried.  pname determines which
     parameter is returned:

     GL_CONVOLUTION_BORDER_MODE    [Toc]    [Back]
	  The convolution border mode.	See glConvolutionParameter for a list
	  of border modes.

     GL_CONVOLUTION_BORDER_COLOR    [Toc]    [Back]
	  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    [Toc]    [Back]
	  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    [Toc]    [Back]
	  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.





									Page 1






glGetConvolutionParameter(3G)  OpenGL Reference	 glGetConvolutionParameter(3G)



     GL_CONVOLUTION_FORMAT    [Toc]    [Back]
	  The current internal format.	See glConvolutionFilter1D,
	  glConvolutionFilter2D, and glSeparableFilter2D for lists of
	  allowable formats.

     GL_CONVOLUTION_WIDTH    [Toc]    [Back]
	  The current filter image width.

     GL_CONVOLUTION_HEIGHT    [Toc]    [Back]
	  The current filter image height.

     GL_MAX_CONVOLUTION_WIDTH    [Toc]    [Back]
	  The maximum acceptable filter	image width.

     GL_MAX_CONVOLUTION_HEIGHT    [Toc]    [Back]
	  The maximum acceptable filter	image height.

ERRORS    [Toc]    [Back]

     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.


MACHINE	DEPENDENCIES
     RealityEngine, RealityEngine2, and	VTX systems cannot retrieve
     GL_MAX_CONVOLUTION_WIDTH_EXT or GL_MAX_CONVOLUTION_HEIGHT_EXT.

SEE ALSO    [Toc]    [Back]

      
      
     glGetConvolutionFilter, glGetSeparableFilter2D, glConvolutionParameter


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
glconvolutionparameterext IRIX set convolution parameters
glconvolutionparameter IRIX set convolution parameters
conv IRIX Convolution and Correlation Library
glconvolutionfilter2d IRIX define a two-dimensional convolution filter
glgetconvolutionfilterext IRIX get current 1D or 2D convolution filter kernel
glconvolutionfilter1d IRIX define a one-dimensional convolution filter
glgetconvolutionfilter IRIX get current 1D or 2D convolution filter kernel
glconvolutionfilter1dext IRIX define a one-dimensional convolution filter
glconvolutionfilter2dext IRIX define a two-dimensional convolution filter
glcopyconvolutionfilter2d IRIX copy pixels into a two-dimensional convolution filter
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service