Constructor NativeArraySharedInt
NativeArraySharedInt(NativeArray<Int32>, AllocatorManager.AllocatorHandle)
Construct a NativeArraySharedInt struct from a NativeArray
Declaration
public NativeArraySharedInt(NativeArray<int> sourceBuffer, AllocatorManager.AllocatorHandle allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeArray<Int32> | sourceBuffer | Original source values. |
| AllocatorManager.AllocatorHandle | allocator | The NativeArray allocation type. |