1GLUQUADRICCALLBACK(3G) GLUQUADRICCALLBACK(3G)
2
3
4
6 gluQuadricCallback - define a callback for a quadrics object
7
8
10 void gluQuadricCallback( GLUquadric* quad,
11 GLenum which,
12 _GLUfuncptr CallBackFunc )
13
14
16 quad Specifies the quadrics object (created with
17 gluNewQuadric).
18
19 which Specifies the callback being defined. The only valid
20 value is GLU_ERROR.
21
22 CallBackFunc Specifies the function to be called.
23
25 gluQuadricCallback is used to define a new callback to be used by a
26 quadrics object. If the specified callback is already defined, then it
27 is replaced. If CallBackFunc is NULL, then any existing callback is
28 erased.
29
30 The one legal callback is GLU_ERROR:
31
32 GLU_ERROR The function is called when an error is encountered. Its
33 single argument is of type GLenum, and it indicates the
34 specific error that occurred. Character strings
35 describing these errors can be retrieved with the
36 gluErrorString call.
37
39 gluErrorString(3G), gluNewQuadric(3G)
40
41
42
43 GLUQUADRICCALLBACK(3G)