SetAtomicSafetyHandle<T>(ref NativeArray<T>, AtomicSafetyHandle)
Sets a new AtomicSafetyHandle on a NativeArray<T>.
읽는 시간 1분최근 업데이트: 한 달 전
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.