MirOS Manual: gluQuadricCallback(3)


GLUQUADRICCALLBACK(3GUNIX Programmer's ManuGLUQUADRICCALLBACK(3G)

NAME

     gluQuadricCallback - define a callback for a quadrics object

C SPECIFICATION

     void gluQuadricCallback( GLUquadric* quad,
                              GLenum which,
                              _GLUfuncptr 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 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 describing
                    these errors can be retrieved with the
                    gluErrorString call.

SEE ALSO

     gluErrorString(3G), gluNewQuadric(3G)

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.