Method Upload
Upload<T>(NativeArray<T>, int, int)
Uploads data to internal storage.
Declaration
public void Upload<T>(NativeArray<T> data, int srcCount, int srcOffset = 0) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | data | The data to upload as a native array. |
int | srcCount | The number of elements to upload. |
int | srcOffset | The index of the first element in the native array. |
Type Parameters
Name | Description |
---|---|
T | The data type of the elements. |