GlPointSize - mkilgore/QB64pe GitHub Wiki

_glPointSize: specify the diameter of rasterized points

Syntax

  SUB _glPointSize (BYVAL size AS SINGLE)
  void '''_glPointSize'''(GLfloat ''size'');
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 :Template:Code 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.

Use with

_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_SIZE_MIN

_glGet with argument _GL_POINT_SIZE_MAX

_glGet with argument _GL_POINT_FADE_THRESHOLD_SIZE

_glIsEnabled with argument _GL_PROGRAM_POINT_SIZE

See also

SUB _GL _glEnable, _glPointParameter

Copyright: 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License.
For details, see https://spdx.org/licenses/SGI-B-2.0.html.

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/.

⚠️ **GitHub.com Fallback** ⚠️