GetAtomicSafetyHandle<T>(NativeArray<T>)
Gets the AtomicSafetyHandle that is used for safety control on a NativeArray.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(NativeArray<T> array) where T : struct
Parameters
The NativeArray to check.
Returns
Type | Description |
|---|---|
| AtomicSafetyHandle | The AtomicSafetyHandle of the given NativeArray. |