GLPOINTPARAMETER(3G)

✨ NAME ✨

Bestie, welcome to the GLPOINTPARAMETER(3G) page β€” yes, manual name and all, and the header lowkey has a [FIXME: manual] in it 😭. This is all about glPointParameter β€” specify point parameters. That's the whole vibe. πŸ’…


πŸŽ€ C SPECIFICATION πŸŽ€

void glPointParameterf(GLenum pname, GLfloat param);

void glPointParameteri(GLenum pname, GLint param);

void glPointParameterfv(GLenum pname, const GLfloat * params);

void glPointParameteriv(GLenum pname, const GLint * params);

🌸 PARAMETERS 🌸

  • pname β€” Specifies a single-valued point parameter. The accepted ones are GL_POINT_FADE_THRESHOLD_SIZE and GL_POINT_SPRITE_COORD_ORIGIN (the original really does have that comma before the β€œand,” iykyk).
  • param β€” For glPointParameterf and glPointParameteri, this specifies the value that pname will be set to.
  • params β€” For glPointParameterfv and glPointParameteriv, this specifies a pointer to an array where the value or values to be assigned to pname are stored.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so these are the values accepted for pname, and there are exactly two, no cap:

  • GL_POINT_FADE_THRESHOLD_SIZE β€” params is a single floating-point value that specifies the threshold value to which point sizes are clamped if they exceed the specified value. The default value is 1.0. Slay, but keep that threshold in mind.
  • GL_POINT_SPRITE_COORD_ORIGIN β€” params is a single enum specifying the point sprite texture coordinate origin, either GL_LOWER_LEFT or GL_UPPER_LEFT. The default value is GL_UPPER_LEFT. Main character energy fr fr.

πŸ’€ ERRORS πŸ’€

  • GL_INVALID_VALUE is generated if the value specified for GL_POINT_FADE_THRESHOLD_SIZE is less than zero.
  • GL_INVALID_ENUM is generated If the value specified for GL_POINT_SPRITE_COORD_ORIGIN is not GL_LOWER_LEFT or GL_UPPER_LEFT.
Not me preserving the capital β€œIf” in that second error β€” the original said it like that, and I’m just being faithful, bestie 😭.

🫢 ASSOCIATED GETS 🫢

  • glGet() with argument GL_POINT_FADE_THRESHOLD_SIZE
  • glGet() with argument GL_POINT_SPRITE_COORD_ORIGIN

🌈 VERSION SUPPORT 🌈

Here’s the vibe check πŸ‘‘ β€” the original table header is Function / Feature Name against OpenGL Version, with columns 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5. Every single one of these functions is a βœ” in every one of those columns:

  • glPointParameterf β€” βœ” for 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
  • glPointParameterfv β€” βœ” for 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
  • glPointParameteri β€” βœ” for 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
  • glPointParameteriv β€” βœ” for 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5

πŸ“ SEE ALSO πŸ“

  • glPointSize()

Copyright Β© 1991-2006 Silicon Graphics, Inc. Copyright Β© 2010-2014 Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.


Copyright Β© 1991-2006 Silicon Graphics, Inc.

Copyright Β© 2010-2014 Khronos Group


Okay that’s the whole page, bestie 🫢 β€” this was GLPOINTPARAMETER(3G), source/version [FIXME: source], dated 08/09/2021. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from