ENDSTREAMPRIMITIVE(3G)

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

πŸ’… ENDSTREAMPRIMITIVE β€” the 3G girlies' manual page πŸŽ€

ok so bestie, welcome to the glow-up version of this page. it lives in section 3G of the manual, and it's all about one lil' function that knows how to ✨end things✨ (respectfully).


🌸 NAME 🌸

EndStreamPrimitive β€” she completes the current output primitive on a specified stream. that's it, that's the job, and she does it flawlessly πŸ’–


✨ DECLARATION ✨

void EndStreamPrimitive(int stream);

look at her. no return value. no drama. just vibes. πŸ‘‘


πŸ¦‹ PARAMETERS πŸ¦‹

  • stream β€” tells you which stream the current primitive is gonna be ended on. like, this is the stream she's wrapping up. specify it, and she handles the rest πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ“: EndStreamPrimitive is available only in the Geometry Shader. like, she doesn't do cameos anywhere else, that's her whole venue.

what she does: she completes the current output primitive on stream and starts a new one. new primitive, fresh start, main character energy ✨.

and the rules? the argument to stream must be a constant integral expression. no cap. don't try to be cute and pass something dynamic, she said constant and she meant it 😭.

also β€” and this is important bestie β€” no vertex is emitted. like, none. zero. she is NOT in the vertex-emitting business, she's in the primitive-closing business. don't get it twisted πŸ™ˆ.


🌈 VERSION SUPPORT 🌈

here's the vibe check across all the OpenGL Shading Language versions πŸ’« the column is the GLSL version, the row is our girl EndStreamPrimitive:

  • 1.10 β€” - (not invited, bestie πŸ’€)
  • 1.20 β€” -
  • 1.30 β€” -
  • 1.40 β€” -
  • 1.50 β€” -
  • 3.30 β€” -
  • 4.00 β€” βœ” (SHE'S HERE πŸŽ‰)
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

so basically: she showed up in 4.00 and has been serving ever since. iconic behavior, truly πŸ‘‘βœ¨


πŸŽ€ SEE ALSO πŸŽ€

go give these besties some love too, they're all in the same group chat πŸ’¬

  • EmitVertex()
  • EmitStreamVertex()
  • 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


and that's the whole page, bestie 🫢 no notes, she ate, periodt.

signed off with love from [FIXME: source], dated 01/03/2018, and filed under ENDSTREAMPRIMITIVE(3G) β€” iykyk πŸŒΈπŸ’œπŸ§š

πŸ“¦ where this page comes from