ATOMICCOUNTERDECREME(3G)
π ATOMICCOUNTERDECREMENT (3G) π
okay bestie, pull up a chair because we're talking about atomicCounterDecrement from the 3G manual section, and honestly? it's giving tiny-but-mighty. it does one (1) thing and it does it atomically. no cap. π
β¨ NAME β¨
atomicCounterDecrement β atomically decrement a counter and return the prior value π
πΈ DECLARATION πΈ
like, here's the whole entire vibe, character for character:
uint atomicCounterDecrement(atomic_uint c);
she's short. she's precise. she's iconic. π
π PARAMETERS π
cβ this is the handle to the atomic counter you're about to decrement, so hand her the right one bestie π«Ά
π¦ DESCRIPTION π¦
so atomicCounterDecrement atomically decrements the value of the atomic counter c and returns its new value. yes, atomically β as in, nobody else can sneak in halfway and mess with it. main character energy only. β¨
π VERSION SUPPORT π
here's the vibe check on which OpenGL Shading Language versions show up for atomicCounterDecrement. a β means she's there, a - means she is literally not invited:
- 1.10 β
-(not invited π) - 1.20 β
-(not invited π) - 1.30 β
-(not invited π) - 1.40 β
-(not invited π) - 1.50 β
-(not invited π) - 3.30 β
-(not invited π) - 4.00 β
-(not invited π) - 4.10 β
-(not invited π) - 4.20 β β (she ate π )
- 4.30 β β (she ate π )
- 4.40 β β (she ate π )
- 4.50 β β (she ate π )
so like, from 4.20 onward she's fully that girl. before that? nothing. zero. silence. π
π₯ SEE ALSO π₯
go read these next, bestie, they're the whole friend group:
atomicCounterIncrement()atomicCounter()
π 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 Β© 2011-2014 Khronos Group
ngl the legal girlies stay winning and we respect them π
and that's the whole page, bestie! this one came from the source tagged [FIXME: source], dated 01/03/2018, and it lives under the ATOMICCOUNTERDECREME(3G) manual name. obsessed with her fr fr. bye ππ§β
π¦ 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