public NativeArray2D(NativeArray2D <T> array, Allocator allocator) { Allocate(array.m_Length0, array.m_Length1, allocator, out this); Copy(array, this); }
public void CopyTo(NativeArray2D <T> array) { Copy(this, array); }
public bool Equals(NativeArray2D <T> other) { return(m_Buffer == other.m_Buffer && m_Length0 == other.m_Length0 && m_Length1 == other.m_Length1); }
public void CopyFrom(NativeArray2D <T> array) { Copy(array, this); }