Skip to main content

atomic_exchange

Function atomic_exchange 

Source
pub fn atomic_exchange<T>(_ptr: &T, _val: T) -> T
Expand description

Atomic exchange. Maps to atomicExchange(&var, value) in WGSL.