1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-07 20:20:25 +00:00
qb64/internal/help/_glointSize.md

1.7 KiB

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

Error(s)

_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

_GL _glEnable, _glPointParameter

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