atomicCounterIncrement - atomically increment a counter and return the prior value
Contents
Copyright
Copyright © 2011-2014 Khronos Group
[FIXME: source] 11/18/2024 ATOMICCOUNTERINCREME(3G)
Declaration
uintatomicCounterIncrement(atomic_uintc);
Description
atomicCounterIncrement atomically increments the value of the atomic counter c and returns its prior
value.
Name
atomicCounterIncrement - atomically increment a counter and return the prior value
Parameters
c
Specify the handle to the atomic counter to increment.
See Also
atomicCounterDecrement(), 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 │ │ │ │ │ │ │ │ │ │ │ │ │
├────────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ atomicCounterIncrement │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ ✔ │
└────────────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
