Gl.PointSize (gb.opengl)
Static Sub PointSize ( Size As Float )
Specify the diameter of rasterized points.
Parameters
- size
-
Specifies the diameter of rasterized points.
The initial value is 1.
Description
Gl.PointSize specifies the rasterized diameter of points. If point size mode
is disabled (see Gl.Enable 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
Gl.PointSize 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.
Associated Gets
Gl.Get with argument Gl.POINT_SIZE_RANGE
Gl.Get with argument Gl.POINT_SIZE_GRANULARITY
Gl.Get with argument Gl.POINT_SIZE
Gl.Get with argument Gl.POINT_SIZE_MIN
Gl.Get with argument Gl.POINT_SIZE_MAX
Gl.Get with argument Gl.POINT_FADE_THRESHOLD_SIZE
Gl.IsEnabled with argument Gl.PROGRAM_POINT_SIZE
See also
Gl.Enable,
Gl.PointParameter
See original documentation on OpenGL website