Sets a user data pointer.
OpenGL C bindings library: libGL.a
void gluNurbsCallbackData( GLUnurbs* nurb, GLvoid* userData )
The same as the GLU_NURBS_END callback, the gluNurbsCallbackData is used to pass a pointer to the application's data to NURBS tessellator. A copy of this pointer will be passed by the tessellator in the NURBS callback functions (set by gluNurbsCallback).
nurb | Specifies the NURBS object (created with gluNewNurbsRenderer). |
userData | Specifies a pointer to the user's data. |
/usr/include/GL/gl.h | Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL. |
The gluNewNurbsRenderersubroutine and gluNurbsCallback subroutine.