| 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="gluQuadricTexture"> |
| 5 | <refmeta> |
| 6 | <refmetainfo> |
| 7 | <copyright> |
| 8 | <year>1991-2006</year> |
| 9 | <holder>Silicon Graphics, Inc.</holder> |
| 10 | </copyright> |
| 11 | </refmetainfo> |
| 12 | <refentrytitle>gluQuadricTexture</refentrytitle> |
| 13 | <manvolnum>3G</manvolnum> |
| 14 | </refmeta> |
| 15 | <refnamediv> |
| 16 | <refname>gluQuadricTexture</refname> |
| 17 | <refpurpose>specify if texturing is desired for quadrics</refpurpose> |
| 18 | </refnamediv> |
| 19 | <refsynopsisdiv><title>C Specification</title> |
| 20 | <funcsynopsis> |
| 21 | <funcprototype> |
| 22 | <funcdef>void <function>gluQuadricTexture</function></funcdef> |
| 23 | <paramdef>GLUquadric* <parameter>quad</parameter></paramdef> |
| 24 | <paramdef>GLboolean <parameter>texture</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>quad</parameter></term> |
| 33 | <listitem> |
| 34 | <para> |
| 35 | Specifies the quadrics object (created with <citerefentry><refentrytitle>gluNewQuadric</refentrytitle></citerefentry>). |
| 36 | </para> |
| 37 | </listitem> |
| 38 | </varlistentry> |
| 39 | <varlistentry> |
| 40 | <term><parameter>texture</parameter></term> |
| 41 | <listitem> |
| 42 | <para> |
| 43 | Specifies a flag indicating if texture coordinates should be generated. |
| 44 | </para> |
| 45 | </listitem> |
| 46 | </varlistentry> |
| 47 | </variablelist> |
| 48 | </refsect1> |
| 49 | <refsect1 id="description"><title>Description</title> |
| 50 | <para> |
| 51 | <function>gluQuadricTexture</function> specifies if texture coordinates should be generated |
| 52 | for quadrics rendered with <parameter>quad</parameter>. |
| 53 | If the value of <parameter>texture</parameter> is <constant>GLU_TRUE</constant>, then texture coordinates |
| 54 | are generated, and if <parameter>texture</parameter> is <constant>GLU_FALSE</constant>, they are not. The |
| 55 | initial value is <constant>GLU_FALSE</constant>. |
| 56 | </para> |
| 57 | <para> |
| 58 | The manner in which texture coordinates are generated depends |
| 59 | upon the specific quadric rendered. |
| 60 | </para> |
| 61 | </refsect1> |
| 62 | <refsect1 id="seealso"><title>See Also</title> |
| 63 | <para> |
| 64 | <citerefentry><refentrytitle>gluNewQuadric</refentrytitle></citerefentry>, |
| 65 | <citerefentry><refentrytitle>gluQuadricDrawStyle</refentrytitle></citerefentry>, |
| 66 | <citerefentry><refentrytitle>gluQuadricNormals</refentrytitle></citerefentry>, |
| 67 | <citerefentry><refentrytitle>gluQuadricOrientation</refentrytitle></citerefentry> |
| 68 | </para> |
| 69 | </refsect1> |
| 70 | <refsect1 id="Copyright"><title>Copyright</title> |
| 71 | <para> |
| 72 | Copyright <trademark class="copyright"></trademark> 1991-2006 |
| 73 | Silicon Graphics, Inc. This document is licensed under the SGI |
| 74 | Free Software B License. For details, see |
| 75 | <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>. |
| 76 | </para> |
| 77 | </refsect1> |
| 78 | </refentry> |