atomicCounter

From OpenGL Reference
Jump to navigation Jump to search

Return the current value of an atomic counter.

Declaration[edit]

uint atomicCounter( atomic_uint c );


Parameters[edit]

c - Specify the handle to the atomic counter whose value to return.


Description[edit]

 atomicCounter returns the current value of the atomic counter c .


Version Support[edit]

atomicCounter 4.2+

See Also[edit]

 atomicCounterIncrement , atomicCounterDecrement 


Copyright[edit]

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/.