atomicCounterDecrement - atomically decrement a counter and return the prior value
Contents
Copyright
Copyright © 2011-2014 Khronos Group
[FIXME: source] 11/18/2024 ATOMICCOUNTERDECREME(3G)
Declaration
uintatomicCounterDecrement(atomic_uintc);
Description
atomicCounterDecrement atomically decrements the value of the atomic counter c and returns its new value.
Name
atomicCounterDecrement - atomically decrement a counter and return the prior value
Parameters
c
Specify the handle to the atomic counter to decrement.
See Also
atomicCounterIncrement(), atomicCounter()
Version Support
┌────────────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│ │ OpenGLShadingLanguageVersion │
├────────────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
│ Function │ 1.10 │ 1.20 │ 1.30 │ 1.40 │ 1.50 │ 3.30 │ 4.00 │ 4.10 │ 4.20 │ 4.30 │ 4.40 │ 4.50 │
│ Name │ │ │ │ │ │ │ │ │ │ │ │ │
├────────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ atomicCounterDecrement │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ ✔ │
└────────────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
