Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" | |
3 | "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> | |
4 | <refentry id="gluNurbsCallbackDataEXT"> | |
5 | <refmeta> | |
6 | <refmetainfo> | |
7 | <copyright> | |
8 | <year>1991-2006</year> | |
9 | <holder>Silicon Graphics, Inc.</holder> | |
10 | </copyright> | |
11 | </refmetainfo> | |
12 | <refentrytitle>gluNurbsCallbackDataEXT</refentrytitle> | |
13 | <manvolnum>3G</manvolnum> | |
14 | </refmeta> | |
15 | <refnamediv> | |
16 | <refname>gluNurbsCallbackDataEXT</refname> | |
17 | <refpurpose>set a user data pointer</refpurpose> | |
18 | </refnamediv> | |
19 | <refsynopsisdiv><title>C Specification</title> | |
20 | <funcsynopsis> | |
21 | <funcprototype> | |
22 | <funcdef>void <function>gluNurbsCallbackDataEXT</function></funcdef> | |
23 | <paramdef>GLUnurbs* <parameter>nurb</parameter></paramdef> | |
24 | <paramdef>GLvoid* <parameter>userData</parameter></paramdef> | |
25 | </funcprototype> | |
26 | </funcsynopsis> | |
27 | </refsynopsisdiv> | |
28 | <!-- eqn: ignoring delim $$ --> | |
29 | <refsect1 id="parameters"><title>Parameters</title> | |
30 | <variablelist> | |
31 | <varlistentry> | |
32 | <term><parameter>nurb</parameter></term> | |
33 | <listitem> | |
34 | <para> | |
35 | Specifies the NURBS object (created with <citerefentry><refentrytitle>gluNewNurbsRenderer</refentrytitle></citerefentry>). | |
36 | </para> | |
37 | </listitem> | |
38 | </varlistentry> | |
39 | <varlistentry> | |
40 | <term><parameter>userData</parameter></term> | |
41 | <listitem> | |
42 | <para> | |
43 | Specifies a pointer to the user's data. | |
44 | </para> | |
45 | </listitem> | |
46 | </varlistentry> | |
47 | </variablelist> | |
48 | </refsect1> | |
49 | <refsect1 id="description"><title>Description</title> | |
50 | <para> | |
51 | <function>gluNurbsCallbackDataEXT</function> is used to pass a pointer to the application's data to NURBS | |
52 | tessellator. A copy of this pointer will be passed by the tessellator | |
53 | in the NURBS callback functions (set by <citerefentry><refentrytitle>gluNurbsCallback</refentrytitle></citerefentry>). | |
54 | </para> | |
55 | </refsect1> | |
56 | <refsect1 id="seealso"><title>See Also</title> | |
57 | <para> | |
58 | <citerefentry><refentrytitle>gluNurbsCallback</refentrytitle></citerefentry> | |
59 | </para> | |
60 | </refsect1> | |
61 | <refsect1 id="Copyright"><title>Copyright</title> | |
62 | <para> | |
63 | Copyright <trademark class="copyright"></trademark> 1991-2006 | |
64 | Silicon Graphics, Inc. This document is licensed under the SGI | |
65 | Free Software B License. For details, see | |
66 | <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. | |
67 | </para> | |
68 | </refsect1> | |
69 | </refentry> |