Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gluquadriccallback(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



gluQuadricCallback(3G)         OpenGL Reference         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 GLUERROR.

     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 GLUERROR:

     GLUERROR      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



















                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026