EMITVERTEX(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

πŸ’… EMITVERTEX β€” ok bestie, it's in section 3G of the manual, let's GO

✨ NAME ✨

EmitVertex β€” emit a vertex to the first vertex stream πŸ¦‹


🌸 DECLARATION 🌸

okay so this is the whole thing, no cap:

void EmitVertex(void);

πŸŽ€ DESCRIPTION πŸŽ€

So here's the tea, bestie: EmitVertex is only available in the Geometry Shader, like it literally does not exist anywhere else, don't even try it. What it does is emit the current values of output variables to the current output primitive on the first (and possibly only) primitive stream. πŸ‘‘

And if you're sitting there like "wait, isn't this just EmitStreamVertex()…" β€” yes girl, it is. It's equivalent to calling EmitStreamVertex() with stream set to 0. Same energy, shorter name, slay. πŸ’…


⭐ VERSION SUPPORT ⭐

So this is the vibe check on which OpenGL Shading Language versions said yes to EmitVertex. Presenting: the EmitVertex function and its glow-up timeline ✨

  • OpenGL Shading Language Version 1.10 β€” - (nope, not invited πŸ™ˆ)
  • OpenGL Shading Language Version 1.20 β€” -
  • OpenGL Shading Language Version 1.30 β€” -
  • OpenGL Shading Language Version 1.40 β€” -
  • OpenGL Shading Language Version 1.50 β€” βœ” (she arrived!! πŸ’–)
  • OpenGL Shading Language Version 3.30 β€” βœ”
  • OpenGL Shading Language Version 4.00 β€” βœ”
  • OpenGL Shading Language Version 4.10 β€” βœ”
  • OpenGL Shading Language Version 4.20 β€” βœ”
  • OpenGL Shading Language Version 4.30 β€” βœ”
  • OpenGL Shading Language Version 4.40 β€” βœ”
  • OpenGL Shading Language Version 4.50 β€” βœ”

🫢 SEE ALSO 🫢

Go read these too, they're the friend group:

  • EmitStreamVertex()
  • EndStreamPrimitive()
  • EndPrimitive()

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. http://opencontent.org/openpub/.


Copyright Β© 2011-2014 Khronos Group


okay that's the whole page, you ate that πŸ’– this was [FIXME: source], dated 01/03/2018, and you just read EMITVERTEX(3G) β€” periodt, go emit some vertices bestie πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from