SetAtomicSafetyHandle<T>(ref NativeArray<T>, AtomicSafetyHandle)
Sets a new AtomicSafetyHandle on a NativeArray<T>.
Read time 1 minuteLast updated 16 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
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.