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