The gluQuadricCallback function defines a callback for a quadric object.
void gluQuadricCallback(
GLUquadricObj * qobj,
GLenum which,
void (* fn)( )
);
Value | Meaning |
---|---|
GLU_ERROR | The gluQuadricCallback 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. |
Use gluQuadricCallback to define a new callback to be used by a quadric object. If the specified callback is already defined, it is replaced. If fn is NULL, any existing callback is erased.
Windows NT: Use version 3.5 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in glu.h.
Import Library: Link with glu32.lib.