1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd">
3 <!-- saved from url=(0013)about:internet -->
4 <?xml-stylesheet type=
"text/xsl" href=
"mathml.xsl"?><html xmlns=
"http://www.w3.org/1999/xhtml" xmlns:
pref=
"http://www.w3.org/2002/Math/preference" pref:
renderer=
"mathplayer-dl"><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8" /><link rel=
"stylesheet" type=
"text/css" href=
"opengl-man.css" /><title>glPointParameter
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.69.1" /></head><body><div class=
"refentry" lang=
"en" xml:
lang=
"en"><a id=
"glPointParameter"></a><div class=
"titlepage"></div><div class=
"refnamediv"><h2>Name
</h2><p>glPointParameter — specify point parameters
</p></div><div class=
"refsynopsisdiv"><h2>C Specification
</h2><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPointParameterf
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLfloat
</td><td><var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table></div><p></p><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPointParameteri
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>GLint
</td><td><var class=
"pdparam">param
</var><code>)
</code>;
</td></tr></table></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"parameters"></a><h2>Parameters
</h2><div class=
"variablelist"><dl><dt><span class=
"term"><em class=
"parameter"><code>pname
</code></em></span></dt><dd><p>
5 Specifies a single-valued point parameter.
6 <code class=
"constant">GL_POINT_FADE_THRESHOLD_SIZE
</code>, and
7 <code class=
"constant">GL_POINT_SPRITE_COORD_ORIGIN
</code>
9 </p></dd><dt><span class=
"term"><em class=
"parameter"><code>param
</code></em></span></dt><dd><p>
10 Specifies the value that
<em class=
"parameter"><code>pname
</code></em> will be set to.
11 </p></dd></dl></div></div><div class=
"refsynopsisdiv"><h2>C Specification
</h2><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPointParameterfv
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>const GLfloat *
</td><td><var class=
"pdparam">params
</var><code>)
</code>;
</td></tr></table></div><p></p><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glPointParameteriv
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">pname
</var>,
</td></tr><tr><td> </td><td>const GLint *
</td><td><var class=
"pdparam">params
</var><code>)
</code>;
</td></tr></table></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"parameters2"></a><h2>Parameters
</h2><div class=
"variablelist"><dl><dt><span class=
"term"><em class=
"parameter"><code>pname
</code></em></span></dt><dd><p>
12 Specifies a point parameter.
13 <code class=
"constant">GL_POINT_FADE_THRESHOLD_SIZE
</code>, and
14 <code class=
"constant">GL_POINT_SPRITE_COORD_ORIGIN
</code>
16 </p></dd><dt><span class=
"term"><em class=
"parameter"><code>params
</code></em></span></dt><dd><p>
17 Specifies the value to be assigned to
<em class=
"parameter"><code>pname
</code></em>..
18 </p></dd></dl></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"description"></a><h2>Description
</h2><p>
19 The following values are accepted for
<em class=
"parameter"><code>pname
</code></em>:
20 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_POINT_FADE_THRESHOLD_SIZE
</code></span></dt><dd><p>
22 <em class=
"parameter"><code>params
</code></em> is a single floating-point value that specifies the threshold value
23 to which point sizes are clamped if they exceed the specified value. The
25 </p></dd><dt><span class=
"term"><code class=
"constant">GL_POINT_SPRITE_COORD_ORIGIN
</code></span></dt><dd><p>
27 <em class=
"parameter"><code>params
</code></em> is a single enum specifying the point sprite texture coordinate origin, either
<code class=
"constant">GL_LOWER_LEFT
</code> or
<code class=
"constant">GL_UPPER_LEFT
</code>.
28 The default value is
<code class=
"constant">GL_UPPER_LEFT
</code>.
29 </p></dd></dl></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"errors"></a><h2>Errors
</h2><p>
30 <code class=
"constant">GL_INVALID_VALUE
</code> is generated if the value specified for
31 <code class=
"constant">GL_POINT_FADE_THRESHOLD_SIZE
</code> is less than zero.
33 <code class=
"constant">GL_INVALID_ENUM
</code> is generated If the value specified for
34 <code class=
"constant">GL_POINT_SPRITE_COORD_ORIGIN
</code> is not
<code class=
"constant">GL_LOWER_LEFT
</code> or
<code class=
"constant">GL_UPPER_LEFT
</code>.
35 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"associatedgets"></a><h2>Associated Gets
</h2><p>
36 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_POINT_FADE_THRESHOLD_SIZE
</code>
38 <a href=
"glGet.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glGet
</span></span></a> with argument
<code class=
"constant">GL_POINT_SPRITE_COORD_ORIGIN
</code>
39 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"seealso"></a><h2>See Also
</h2><p>
40 <a href=
"glPointSize.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glPointSize
</span></span></a>
41 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"Copyright"></a><h2>Copyright
</h2><p>
42 Copyright
<span class=
"trademark"></span>©
1991-
2006
43 Silicon Graphics, Inc. Copyright
<span class=
"trademark"></span>©
2010
44 Khronos Group. This document is licensed under the SGI
45 Free Software B License. For details, see
46 <a href=
"http://oss.sgi.com/projects/FreeB/" target=
"_top">http://oss.sgi.com/projects/FreeB/
</a>.
47 </p></div></div></body></html>