GLPOINTSIZE(3G) | OpenGL 3.3 | GLPOINTSIZE(3G) |
glPointSize - specify the diameter of rasterized points
void glPointSize(GLfloat size);
size
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 gl_PointSize will be used.
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.
GL_INVALID_VALUE is generated if size is less than or equal to 0.
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
glEnable(), 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/.
03/08/2011 | OpenGL 3.3 |