GlPointSize

From QB64 Wiki
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:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
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/.