gluQuadricCallback.3gl
Digital Equipment Corporation OpenGL man pages

gluQuadricCallback.3gl




Name

  gluQuadricCallback - define a	callback for a quadrics	object


C Specification

  void gluQuadricCallback( GLUquadricObj *qobj,
			   GLenum which,
			   void	(*fn)( )


Parameters


  qobj	 Specifies the quadrics	object (created	with gluNewQuadric).

  which	 Specifies the callback	being defined.	The only valid value is
	 GLU_ERROR.

  fn	 Specifies the function	to be called.


Description

  gluQuadricCallback is	used to	define a new callback to be used by a
  quadrics object.  If the specified callback is already defined, then it is
  replaced.  If	fn is NULL, then any existing callback is erased.

  The one legal	callback is GLU_ERROR:

  GLU_ERROR	 The function is called	when an	error is encountered.  Its
		 single	argument is of type GLenum, and	it indicates the
		 specific error	that occurred.	Character strings describing
		 these errors can be retrieved with the	gluErrorString call.


See Also

  gluErrorString, gluNewQuadric




Introduction | Alphabetic | Specification

Last Edited: Fri Dec 6 11:18:03 EST 1996 by AFV
Look here for legal stuff: Legal