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">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glPointParameter
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glPointParameter
</refname>
17 <refpurpose>specify point parameters
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glPointParameterf
</function></funcdef>
23 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
24 <paramdef>GLfloat
<parameter>param
</parameter></paramdef>
30 <funcdef>void
<function>glPointParameteri
</function></funcdef>
31 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
32 <paramdef>GLint
<parameter>param
</parameter></paramdef>
36 <!-- eqn: ignoring delim $$ -->
37 <refsect1 id=
"parameters"><title>Parameters
</title>
40 <term><parameter>pname
</parameter></term>
43 Specifies a single-valued point parameter.
44 <constant>GL_POINT_FADE_THRESHOLD_SIZE
</constant>, and
45 <constant>GL_POINT_SPRITE_COORD_ORIGIN
</constant>
51 <term><parameter>param
</parameter></term>
54 Specifies the value that
<parameter>pname
</parameter> will be set to.
60 <refsynopsisdiv><title>C Specification
</title>
63 <funcdef>void
<function>glPointParameterfv
</function></funcdef>
64 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
65 <paramdef>const GLfloat *
<parameter>params
</parameter></paramdef>
71 <funcdef>void
<function>glPointParameteriv
</function></funcdef>
72 <paramdef>GLenum
<parameter>pname
</parameter></paramdef>
73 <paramdef>const GLint *
<parameter>params
</parameter></paramdef>
77 <refsect1 id=
"parameters2"><title>Parameters
</title>
80 <term><parameter>pname
</parameter></term>
83 Specifies a point parameter.
84 <constant>GL_POINT_FADE_THRESHOLD_SIZE
</constant>, and
85 <constant>GL_POINT_SPRITE_COORD_ORIGIN
</constant>
91 <term><parameter>params
</parameter></term>
94 Specifies the value to be assigned to
<parameter>pname
</parameter>..
100 <refsect1 id=
"description"><title>Description
</title>
102 The following values are accepted for
<parameter>pname
</parameter>:
106 <term><constant>GL_POINT_FADE_THRESHOLD_SIZE
</constant></term>
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.
118 <term><constant>GL_POINT_SPRITE_COORD_ORIGIN
</constant></term>
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>.
130 <refsect1 id=
"errors"><title>Errors
</title>
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.
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>.
140 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
142 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_FADE_THRESHOLD_SIZE
</constant>
145 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SPRITE_COORD_ORIGIN
</constant>
148 <refsect1 id=
"seealso"><title>See Also
</title>
150 <citerefentry><refentrytitle>glPointSize
</refentrytitle></citerefentry>
153 <refsect1 id=
"Copyright"><title>Copyright
</title>
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>.