ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

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



GLUQUADRICCALLBACK(3G)                                                                GLUQUADRICCALLBACK(3G)



NAME
       gluQuadricCallback - define a callback for a quadrics object


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


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 speci-fied specified
       fied 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 describ-ing describing
                      ing these errors can be retrieved with the gluErrorString call.

SEE ALSO
       gluErrorString(3G), gluNewQuadric(3G)




                                                                                      GLUQUADRICCALLBACK(3G)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.