Light | Dark

gl_PointSize

Name

gl_PointSize — contains size of rasterized points, in pixels

Declaration

out highp float gl_PointSize ;

Description

The variable gl_PointSize is intended for a vertex shader to write the size of the point to be rasterized. It is measured in pixels. If gl_PointSize is not written to, its value is undefined in subsequent pipeline stages.

Version Support

OpenGL ES Shading Language Version
Variable Name 1.00 3.00 3.10
gl_PointSize

See Also

gl_Position

Think you can improve this page? Edit this page on GitHub.