atomic tag - tiagodinis/GParticles GitHub Wiki

Description: Tag that holds the definition of an atomic to load. Atomics are unsigned int hardware counters that can only be incremented, decremented and have its value read. If their initial value is not specified, it defaults to 0.

Parent tag: private, global

Child tags: none

attribute type description
name string the string that identifies the atomic
value uint atomic initial value

Example:

<atomic name="aliveParticles" value=0 />