GLPOINTSIZE(3G)

    .SH "NAME" glPointSize - specify the diameter of rasterized points
    .SH "C SPECIFICATION"

            .HP u void glPointSize(GLfloat size);

    .SH "PARAMETERS"

        .PP size

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

            .RE

        .SH "DESCRIPTION"
            .PP 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.

        .SH "NOTES"
            .PP 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.

        .SH "ERRORS"
            .PP GL_INVALID_VALUE is generated if size is less than or equal to 0.

        .SH "ASSOCIATED GETS"
            .PP glGet() with argument GL_POINT_SIZE_RANGE
            .PP glGet() with argument GL_POINT_SIZE_GRANULARITY
            .PP glGet() with argument GL_POINT_SIZE
            .PP glGet() with argument GL_POINT_FADE_THRESHOLD_SIZE
            .PP glIsEnabled() with argument GL_PROGRAM_POINT_SIZE

        .SH "VERSION SUPPORT"
            .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Version T} T{ Function / Feature Name T}:T{ 2.0 T}:T{ 2.1 T}:T{ 3.0 T}:T{ 3.1 T}:T{ 3.2 T}:T{ 3.3 T}:T{ 4.0 T}:T{ 4.1 T}:T{ 4.2 T}:T{ 4.3 T}:T{ 4.4 T}:T{ 4.5 T} l c c c c c c c c c c c c. T{ glPointSize T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

        .SH "SEE ALSO"
            .PP glEnable(), glPointParameter()

        .SH "COPYRIGHT"
            .PP 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 https://khronos.org/registry/OpenGL-Refpages/LICENSES/LicenseRef-FreeB.txt.

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