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=
"glPointSize">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glPointSize
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glPointSize
</refname>
17 <refpurpose>specify the diameter of rasterized points
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glPointSize
</function></funcdef>
23 <paramdef>GLfloat
<parameter>size
</parameter></paramdef>
27 <!-- eqn: ignoring delim $$ -->
28 <refsect1 id=
"parameters"><title>Parameters
</title>
31 <term><parameter>size
</parameter></term>
34 Specifies the diameter of rasterized points.
35 The initial value is
1.
41 <refsect1 id=
"description"><title>Description
</title>
43 <function>glPointSize
</function> specifies the rasterized diameter of points. If point size mode
44 is disabled (see
<citerefentry><refentrytitle>glEnable
</refentrytitle></citerefentry> with parameter
45 <constant>GL_PROGRAM_POINT_SIZE
</constant>), this value will be used to rasterize points. Otherwise,
46 the value written to the shading language built-in variable
<code>gl_PointSize
</code> will be used.
49 <refsect1 id=
"notes"><title>Notes
</title>
51 The point size specified by
<function>glPointSize
</function> is always returned when
52 <constant>GL_POINT_SIZE
</constant> is queried. Clamping and rounding for points have no effect on the specified value.
55 <refsect1 id=
"errors"><title>Errors
</title>
57 <constant>GL_INVALID_VALUE
</constant> is generated if
<parameter>size
</parameter> is less than or equal to
0.
60 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
62 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SIZE_RANGE
</constant>
65 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SIZE_GRANULARITY
</constant>
68 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SIZE
</constant>
71 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SIZE_MIN
</constant>
74 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_SIZE_MAX
</constant>
77 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_POINT_FADE_THRESHOLD_SIZE
</constant>
80 <citerefentry><refentrytitle>glIsEnabled
</refentrytitle></citerefentry> with argument
<constant>GL_PROGRAM_POINT_SIZE
</constant>
83 <refsect1 id=
"seealso"><title>See Also
</title>
85 <citerefentry><refentrytitle>glEnable
</refentrytitle></citerefentry>,
86 <citerefentry><refentrytitle>glPointParameter
</refentrytitle></citerefentry>
89 <refsect1 id=
"Copyright"><title>Copyright
</title>
91 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
92 Silicon Graphics, Inc. This document is licensed under the SGI
93 Free Software B License. For details, see
94 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.