GlPointSize

From QB64 Wiki
Revision as of 15:19, 20 April 2020 by Odin (talk | contribs) (Text replacement - "{{KW|_GL}}" to "SUB _GL")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

_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 (GL_PROGRAM_POINT_SIZE), _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/.



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page

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