rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man4 / glPointParameter.xml
CommitLineData
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="glPointParameter">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glPointParameter</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glPointParameter</refname>
17 <refpurpose>specify point parameters</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>void <function>glPointParameterf</function></funcdef>
23 <paramdef>GLenum <parameter>pname</parameter></paramdef>
24 <paramdef>GLfloat <parameter>param</parameter></paramdef>
25 </funcprototype>
26 </funcsynopsis>
27 <para></para>
28 <funcsynopsis>
29 <funcprototype>
30 <funcdef>void <function>glPointParameteri</function></funcdef>
31 <paramdef>GLenum <parameter>pname</parameter></paramdef>
32 <paramdef>GLint <parameter>param</parameter></paramdef>
33 </funcprototype>
34 </funcsynopsis>
35 </refsynopsisdiv>
36 <!-- eqn: ignoring delim $$ -->
37 <refsect1 id="parameters"><title>Parameters</title>
38 <variablelist>
39 <varlistentry>
40 <term><parameter>pname</parameter></term>
41 <listitem>
42 <para>
43 Specifies a single-valued point parameter.
44 <constant>GL_POINT_FADE_THRESHOLD_SIZE</constant>, and
45 <constant>GL_POINT_SPRITE_COORD_ORIGIN</constant>
46 are accepted.
47 </para>
48 </listitem>
49 </varlistentry>
50 <varlistentry>
51 <term><parameter>param</parameter></term>
52 <listitem>
53 <para>
54 Specifies the value that <parameter>pname</parameter> will be set to.
55 </para>
56 </listitem>
57 </varlistentry>
58 </variablelist>
59 </refsect1>
60 <refsynopsisdiv><title>C Specification</title>
61 <funcsynopsis>
62 <funcprototype>
63 <funcdef>void <function>glPointParameterfv</function></funcdef>
64 <paramdef>GLenum <parameter>pname</parameter></paramdef>
65 <paramdef>const GLfloat * <parameter>params</parameter></paramdef>
66 </funcprototype>
67 </funcsynopsis>
68 <para></para>
69 <funcsynopsis>
70 <funcprototype>
71 <funcdef>void <function>glPointParameteriv</function></funcdef>
72 <paramdef>GLenum <parameter>pname</parameter></paramdef>
73 <paramdef>const GLint * <parameter>params</parameter></paramdef>
74 </funcprototype>
75 </funcsynopsis>
76 </refsynopsisdiv>
77 <refsect1 id="parameters2"><title>Parameters</title>
78 <variablelist>
79 <varlistentry>
80 <term><parameter>pname</parameter></term>
81 <listitem>
82 <para>
83 Specifies a point parameter.
84 <constant>GL_POINT_FADE_THRESHOLD_SIZE</constant>, and
85 <constant>GL_POINT_SPRITE_COORD_ORIGIN</constant>
86 are accepted.
87 </para>
88 </listitem>
89 </varlistentry>
90 <varlistentry>
91 <term><parameter>params</parameter></term>
92 <listitem>
93 <para>
94 Specifies the value to be assigned to <parameter>pname</parameter>..
95 </para>
96 </listitem>
97 </varlistentry>
98 </variablelist>
99 </refsect1>
100 <refsect1 id="description"><title>Description</title>
101 <para>
102 The following values are accepted for <parameter>pname</parameter>:
103 </para>
104 <variablelist>
105 <varlistentry>
106 <term><constant>GL_POINT_FADE_THRESHOLD_SIZE</constant></term>
107 <listitem>
108 <para>
109 </para>
110 <para>
111 <parameter>params</parameter> is a single floating-point value that specifies the threshold value
112 to which point sizes are clamped if they exceed the specified value. The
113 default value is 1.0.
114 </para>
115 </listitem>
116 </varlistentry>
117 <varlistentry>
118 <term><constant>GL_POINT_SPRITE_COORD_ORIGIN</constant></term>
119 <listitem>
120 <para>
121 </para>
122 <para>
123 <parameter>params</parameter> is a single enum specifying the point sprite texture coordinate origin, either <constant>GL_LOWER_LEFT</constant> or <constant>GL_UPPER_LEFT</constant>.
124 The default value is <constant>GL_UPPER_LEFT</constant>.
125 </para>
126 </listitem>
127 </varlistentry>
128 </variablelist>
129 </refsect1>
130 <refsect1 id="errors"><title>Errors</title>
131 <para>
132 <constant>GL_INVALID_VALUE</constant> is generated if the value specified for
133 <constant>GL_POINT_FADE_THRESHOLD_SIZE</constant> is less than zero.
134 </para>
135 <para>
136 <constant>GL_INVALID_ENUM</constant> is generated If the value specified for
137 <constant>GL_POINT_SPRITE_COORD_ORIGIN</constant> is not <constant>GL_LOWER_LEFT</constant> or <constant>GL_UPPER_LEFT</constant>.
138 </para>
139 </refsect1>
140 <refsect1 id="associatedgets"><title>Associated Gets</title>
141 <para>
142 <citerefentry><refentrytitle>glGet</refentrytitle></citerefentry> with argument <constant>GL_POINT_FADE_THRESHOLD_SIZE</constant>
143 </para>
144 <para>
145 <citerefentry><refentrytitle>glGet</refentrytitle></citerefentry> with argument <constant>GL_POINT_SPRITE_COORD_ORIGIN</constant>
146 </para>
147 </refsect1>
148 <refsect1 id="seealso"><title>See Also</title>
149 <para>
150 <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>
151 </para>
152 </refsect1>
153 <refsect1 id="Copyright"><title>Copyright</title>
154 <para>
155 Copyright <trademark class="copyright"></trademark> 1991-2006
156 Silicon Graphics, Inc. Copyright <trademark class="copyright"></trademark> 2010
157 Khronos Group. This document is licensed under the SGI
158 Free Software B License. For details, see
159 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
160 </para>
161 </refsect1>
162</refentry>