DisposeNativeArray<T>(NativeArray<T>, AllocatorHandle)
Dispose a NativeArray from an AllocatorHandle where it is allocated.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static void DisposeNativeArray<T>(NativeArray<T> nativeArray, AllocatorManager.AllocatorHandle allocator) where T : unmanaged
Parameters
The NativeArray to make a copy of.
The AllocatorHandle used to allocate the NativeArray.