1GLPOINTSIZE(3G)                  OpenGL Manual                 GLPOINTSIZE(3G)
2
3
4

NAME

6       glPointSize - specify the diameter of rasterized points
7

C SPECIFICATION

9       void glPointSize(GLfloat size);
10

PARAMETERS

12       size
13           Specifies the diameter of rasterized points. The initial value is
14           1.
15

DESCRIPTION

17       glPointSize specifies the rasterized diameter of points. If point size
18       mode is disabled (see glEnable() with parameter GL_PROGRAM_POINT_SIZE),
19       this value will be used to rasterize points. Otherwise, the value
20       written to the shading language built-in variable gl_PointSize will be
21       used.
22

NOTES

24       The point size specified by glPointSize is always returned when
25       GL_POINT_SIZE is queried. Clamping and rounding for points have no
26       effect on the specified value.
27

ERRORS

29       GL_INVALID_VALUE is generated if size is less than or equal to 0.
30

ASSOCIATED GETS

32       glGet() with argument GL_POINT_SIZE_RANGE
33
34       glGet() with argument GL_POINT_SIZE_GRANULARITY
35
36       glGet() with argument GL_POINT_SIZE
37
38       glGet() with argument GL_POINT_SIZE_MIN
39
40       glGet() with argument GL_POINT_SIZE_MAX
41
42       glGet() with argument GL_POINT_FADE_THRESHOLD_SIZE
43
44       glIsEnabled() with argument GL_PROGRAM_POINT_SIZE
45

SEE ALSO

47       glEnable(), glPointParameter()
48
50       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
51       under the SGI Free Software B License. For details, see
52       http://oss.sgi.com/projects/FreeB/.
53

AUTHORS

55       opengl.org
56
57
58
59opengl.org                        06/10/2014                   GLPOINTSIZE(3G)
Impressum