'''_glPointSize:''' specify the diameter of rasterized points


{{PageSyntax}}

  SUB _glPointSize (BYVAL size AS SINGLE)
  void '''_glPointSize'''(GLfloat {{Parameter|size}});


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


{{PageDescription}}

'''_glPointSize''' specifies the rasterized diameter of points. If point size mode is disabled (see {{KW|_glEnable}} with parameter {{KW|_GL_PROGRAM_POINT_SIZE}}), this value will be used to rasterize points. Otherwise, the value written to the shading language built-in variable {{code|gl_PointSize}} will be used.


{{PageNotes}}

The point size specified by '''_glPointSize''' is always returned when {{KW|_GL_POINT_SIZE}} is queried. Clamping and rounding for points have no effect on the specified value.


{{PageErrors}}

{{KW|_GL_INVALID_VALUE}} is generated if {{Parameter|size}} is less than or equal to 0.


{{PageUseWith}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_RANGE}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_GRANULARITY}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_MIN}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_MAX}}

{{KW|_glGet}} with argument {{KW|_GL_POINT_FADE_THRESHOLD_SIZE}}

{{KW|_glIsEnabled}} with argument {{KW|_GL_PROGRAM_POINT_SIZE}}


{{PageSeeAlso}}

[[_GL|SUB _GL]]
{{KW|_glEnable|(GL_PROGRAM_POINT_SIZE)}}, {{KW|_glPointParameter}}


{{PageCopyright}}

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