gl_PointSize — contains size of rasterized points, in pixels
out highp float gl_PointSize ;
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.
OpenGL ES Shading Language Version | |||
---|---|---|---|
Variable Name | 1.00 | 3.00 | 3.10 |
gl_PointSize | ✔ | ✔ | ✔ |
Copyright © 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.