1GLUQUADRICCALLBACK(3G)           OpenGL Manual          GLUQUADRICCALLBACK(3G)
2
3
4

NAME

6       gluQuadricCallback - define a callback for a quadrics object
7

C SPECIFICATION

9       void gluQuadricCallback(GLUquadric* quad, GLenum which,
10                               _GLUfuncptr CallBackFunc);
11

PARAMETERS

13       quad
14           Specifies the quadrics object (created with gluNewQuadric()).
15
16       which
17           Specifies the callback being defined. The only valid value is
18           GLU_ERROR.
19
20       CallBackFunc
21           Specifies the function to be called.
22

DESCRIPTION

24       gluQuadricCallback is used to define a new callback to be used by a
25       quadrics object. If the specified callback is already defined, then it
26       is replaced. If CallBackFunc is NULL, then any existing callback is
27       erased.
28
29       The one legal callback is GLU_ERROR:
30
31       GLU_ERROR
32           The function is called when an error is encountered. Its single
33           argument is of type GLenum, and it indicates the specific error
34           that occurred. Character strings describing these errors can be
35           retrieved with the gluErrorString() call.
36

SEE ALSO

38       gluErrorString(), gluNewQuadric()
39
41       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
42       under the SGI Free Software B License. For details, see
43       http://oss.sgi.com/projects/FreeB/.
44

AUTHORS

46       opengl.org
47
48
49
50opengl.org                        07/13/2018            GLUQUADRICCALLBACK(3G)
Impressum