Export (0) Print
Expand All

gluNurbsCallback function

Applies to: desktop apps only

The gluNurbsCallback function defines a callback for a Non-Uniform Rational B-Spline (NURBS) object.

Syntax

void WINAPI gluNurbsCallback(
  GLUnurbs *nobj,
  GLenum which,
  void (CALLBACK *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

A pointer to the callback function.

Return value

This function does not return a value.

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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Glu.h

Library

Glu32.lib

DLL

Glu32.dll

See also

gluErrorString
gluNewNurbsRenderer

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft