Sets a user data pointer.
OpenGL C bindings library: libGL.a
void gluNurbsCallbackDataEXT( GLUnurbs* nurb, GLvoid* userData )
gluNurbsCallbackDataEXT 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 gluNurbsCallback subroutine.