A SharedArray is a segment of memory that is represented both as a normal C# array T[], and a Unity NativeArray<T>.
It's designed to reduce the overhead of communicating between C# job data in NativeArray and APIs that use a normal array of structs, such as Graphics.DrawMeshInstanced(), by eliminating the need to copy data.
https://github.com/stella3d/SharedArray
#sharedarray #nativearray
Post #1767
117