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