Method Dispose
Dispose<T>(NativeArray<T>)
Dispose a NativeArray from an AllocatorHandle where it is allocated.
Declaration
public static void Dispose<T>(NativeArray<T> nativeArray) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | nativeArray | The NativeArray to be disposed. |
Type Parameters
Name | Description |
---|---|
T | The type of the elements. |