Query: gluquadriccallback
OS: redhat
Section: 3g
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GLUQUADRICCALLBACK(3G) GLUQUADRICCALLBACK(3G)NAMEgluQuadricCallback - define a callback for a quadrics objectC SPECIFICATIONvoid gluQuadricCallback( GLUquadric* quad, GLenum which, _GLUfuncptr CallBackFunc )PARAMETERSquad 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.DESCRIPTIONgluQuadricCallback 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 ALSOgluErrorString(3G), gluNewQuadric(3G) GLUQUADRICCALLBACK(3G)