NAME

gluQuadricCallback - define a callback for a quadrics object

C SPECIFICATION

void gglluuQQuuaaddrriiccCCaallllbbaacckk( GLUquadric* _q_u_a_d,
                         GLenum _w_h_i_c_h,
                         _GLUfuncptr _C_a_l_l_B_a_c_k_F_u_n_c )

delim $$

PARAMETERS

_q_u_a_d
Specifies the quadrics object (created with gglluuNNeewwQQuuaaddrriicc).
_w_h_i_c_h
Specifies the callback being defined. The only valid value is GGLLUU__EERRRROORR.
_C_a_l_l_B_a_c_k_F_u_n_c
Specifies the function to be called.

DESCRIPTION

gglluuQQuuaaddrriiccCCaallllbbaacckk 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 _C_a_l_l_B_a_c_k_F_u_n_c is NULL, then any existing callback is erased.

The one legal callback is GGLLUU__EERRRROORR:

GGLLUU__EERRRROORR
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 gglluuEErrrroorrSSttrriinngg call.

SEE ALSO

gglluuEErrrroorrSSttrriinngg((33GG)), gglluuNNeewwQQuuaaddrriicc((33GG))