Opentk/Source/Bind/Specifications/Docs/GL/gluQuadricDrawStyle.xml

113 lines
4.7 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="gluQuadricDrawStyle">
<refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>gluQuadricDrawStyle</refentrytitle>
<manvolnum>3G</manvolnum>
</refmeta>
<refnamediv>
<refname>gluQuadricDrawStyle</refname>
<refpurpose>specify the draw style desired for quadrics</refpurpose>
</refnamediv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>gluQuadricDrawStyle</function></funcdef>
<paramdef>GLUquadric* <parameter>quad</parameter></paramdef>
<paramdef>GLenum <parameter>draw</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>draw</parameter></term>
<listitem>
<para>
Specifies the desired draw style. Valid values are
<constant>GLU_FILL</constant>,
<constant>GLU_LINE</constant>,
<constant>GLU_SILHOUETTE</constant>, and
<constant>GLU_POINT</constant>.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
<function>gluQuadricDrawStyle</function> specifies the draw style for quadrics rendered with
<parameter>quad</parameter>. The legal values are as follows:
</para>
<variablelist>
<varlistentry>
<term><constant>GLU_FILL</constant></term>
<listitem>
<para>
Quadrics are rendered with polygon primitives. The polygons
are drawn in a counterclockwise fashion with respect to their
normals (as defined with <citerefentry><refentrytitle>gluQuadricOrientation</refentrytitle></citerefentry>).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GLU_LINE</constant></term>
<listitem>
<para>
Quadrics are rendered as a set of lines.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GLU_SILHOUETTE</constant></term>
<listitem>
<para>
Quadrics are rendered as a set of lines, except that edges separating
coplanar faces will not be drawn.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GLU_POINT</constant></term>
<listitem>
<para>
Quadrics are rendered as a set of points.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="seealso"><title>See Also</title>
<para>
<citerefentry><refentrytitle>gluNewQuadric</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricNormals</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricOrientation</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>gluQuadricTexture</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>