NOT(3G)

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

✨ 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 Β© 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 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