SetAtomicSafetyHandle<T>(ref NativeArray<T>, AtomicSafetyHandle)
Sets a new AtomicSafetyHandle on a NativeArray.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
SetAtomicSafetyHandle<T>(NativeArray<T>, AtomicSafetyHandle)
public static void SetAtomicSafetyHandle<T>(ref NativeArray<T> array, AtomicSafetyHandle safety) where T : struct
Parameters
The NativeArray to set a new handle on.
The new AtomicSafetyHandle to set.