NOT(3G)
β¨ NOT(3G) β¨
okay bestie, welcome to the manual page for not β lowercase not, the boolean-inverting girlypop of the OpenGL Shading Language. she's in section 3G. she's tiny. she's iconic. let's get into it π
π NAME π
not β logically invert a boolean vector
like, that's it. that's her whole job. and she ate.
πΈ DECLARATION πΈ
bvec not(bvec x);
no cap, that's the whole signature. bvec in, bvec out. clean. symmetrical. we love to see it π«Ά
π¦ PARAMETERS π¦
xβ the vector you want inverted, bestie. hand it over and she'll flip every single element for you.
π DESCRIPTION π
so basically: not logically inverts the boolean vector x. it hands you back a brand new boolean vector β not a glow-up of the old one, a whole new one β where each element i is computed as !x[i].
so every true becomes false and every false becomes true. it's giving opposite day. it's giving main character energy. it's giving ! but for vectors, periodt. β¨
π VERSION SUPPORT π
the way that she's supported in EVERY version?? no skips, no gaps, flawless run ππ₯
Function name: not
OpenGL Shading Language versions:
1.10β β1.20β β1.30β β1.40β β1.50β β3.30β β4.00β β4.10β β4.20β β4.30β β4.40β β4.50β β
every single one. she's been booked and busy since day one π π
π SEE ALSO π
go give these sisters some love too, iykyk:
any()all()
π 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) π§
Copyright Β© 2011-2014 Khronos Group
okay that's the whole page bestie, go invert some booleans responsibly π
and a lil sign-off for you: this one came from [FIXME: source], dated 01/03/2018, and it lives at NOT(3G) forever and ever πβ¨π
π¦ 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