[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

gluNurbsCallbackData Subroutine

Purpose

Sets a user data pointer.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluNurbsCallbackData( GLUnurbs* nurb,
   GLvoid* userData )

Description

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).

Parameters

nurb Specifies the NURBS object (created with gluNewNurbsRenderer).
userData Specifies a pointer to the user's data.

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The gluNewNurbsRenderersubroutine and gluNurbsCallback subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]