Opentk/Source/Bind/Specifications/Docs/gluQuadricTexture.xml
2009-03-08 00:46:58 +00:00

78 lines
3.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="gluQuadricTexture">
<refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>gluQuadricTexture</refentrytitle>
<manvolnum>3G</manvolnum>
</refmeta>
<refnamediv>
<refname>gluQuadricTexture</refname>
<refpurpose>specify if texturing is desired for quadrics</refpurpose>
</refnamediv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>gluQuadricTexture</function></funcdef>
<paramdef>GLUquadric* <parameter>quad</parameter></paramdef>
<paramdef>GLboolean <parameter>texture</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title>
<variablelist>
<varlistentry>
<term><parameter>quad</parameter></term>
<listitem>
<para>
Specifies the quadrics object (created with <citerefentry><refentrytitle>gluNewQuadric</refentrytitle></citerefentry>).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>texture</parameter></term>
<listitem>
<para>
Specifies a flag indicating if texture coordinates should be generated.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
<function>gluQuadricTexture</function> specifies if texture coordinates should be generated
for quadrics rendered with <parameter>quad</parameter>.
If the value of <parameter>texture</parameter> is <constant>GLU_TRUE</constant>, then texture coordinates
are generated, and if <parameter>texture</parameter> is <constant>GLU_FALSE</constant>, they are not. The
initial value is <constant>GLU_FALSE</constant>.
</para>
<para>
The manner in which texture coordinates are generated depends
upon the specific quadric rendered.
</para>
</refsect1>
<refsect1 id="seealso"><title>See Also</title>
<para>
<citerefentry><refentrytitle>gluNewQuadric</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricDrawStyle</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricNormals</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricOrientation</refentrytitle></citerefentry>
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refentry>