Method Download
Download<T>(int, int)
Returns a contiguous block of data from internal storage.
Declaration
public NativeArray<T> Download<T>(int dstCount, int srcOffset = 0) where T : unmanaged
Parameters
| Type | Name | Description |
|---|---|---|
| int | dstCount | The number of elements to download. |
| int | srcOffset | The index of the first element in storage to download. |
Returns
| Type | Description |
|---|---|
| NativeArray<T> | A native array of downloaded elements. |
Type Parameters
| Name | Description |
|---|---|
| T | The data type of the elements. |