Scroll to navigation

GLPOINTSIZE(3G) [FIXME: manual] GLPOINTSIZE(3G)

NAME

glPointSize - specify the diameter of rasterized points

C SPECIFICATION

void glPointSize(GLfloat size);

PARAMETERS

size

Specifies the diameter of rasterized points. The initial value is 1.

DESCRIPTION

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

NOTES

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

ERRORS

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

ASSOCIATED GETS

glGet() with argument GL_POINT_SIZE_RANGE

glGet() with argument GL_POINT_SIZE_GRANULARITY

glGet() with argument GL_POINT_SIZE

glGet() with argument GL_POINT_FADE_THRESHOLD_SIZE

glIsEnabled() with argument GL_PROGRAM_POINT_SIZE

VERSION SUPPORT

OpenGL Version
Function / Feature Name 2.0 2.1 3.0 3.1 3.2 3.3 4.0 4.1 4.2 4.3 4.4 4.5
glPointSize

SEE ALSO

glEnable(), glPointParameter()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014 Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc.
Copyright © 2010-2014 Khronos Group

04/12/2021 [FIXME: source]