gluNurbsCallback
[New
- Windows 95, OEM Service Release 2]
The gluNurbsCallback function defines a
callback for a NURBS object.
void gluNurbsCallback(
GLUnurbsObj * nobj, |
|
GLenum which, |
|
void (* fn)( ) |
|
); |
|
Parameters
nobj
The NURBS
object (created with gluNewNurbsRenderer
which
The callback
being defined. The only valid value is GLU_ERROR. The meaning of GLU_ERROR
means that the error function is called when an error is encountered. Its
single argument is of type GLenum, and it indicates the specific error
that occurred. There are 37 errors unique to NURBS, named GLU_NURBS_ERROR1
through GLU_NURBS_ERROR37. Character strings describing these errors can
be retrieved with gluErrorString.
fn
The function
that the callback calls.
Remarks
Use gluNurbsCallback to define a callback to be
used by a NURBS object. If the specified callback is already defined, it is
replaced. If fn is NULL, then any existing callback is erased.
See Also
gluErrorString, gluNewNurbsRenderer1Y9AJ3Z