ENDSTREAMPRIMITIVE(3G)
π
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 π
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 (yes, again, she said it twice π ) π
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
- ubuntu jammy: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- ubuntu noble: opengl-4-man-doc 1.0~svn33624-1 Β· SGI-Free-Software-B-License-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms