Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GLUQUADRICCALLBACK()					  GLUQUADRICCALLBACK()

NAME
       gluQuadricCallback - define a callback for a quadrics object

C SPECIFICATION
       void gluQuadricCallback(	GLUquadric* quad,
				GLenum which,
				GLvoid (*CallBackFunc)(	)

       delim $$

PARAMETERS
       quad	     Specifies	  the	 quadrics    object    (created	  with
		     gluNewQuadric).

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

       CallBackFunc  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  CallBackFunc	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  de-
		      scribing	these  errors can be retrieved with the	gluEr-
		      rorString	call.

SEE ALSO
       gluErrorString, gluNewQuadric

							  GLUQUADRICCALLBACK()

NAME | C SPECIFICATION | PARAMETERS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gluQuadricCallback&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help