Constructs a
float
-based
DataBuffer
with the specified data arrays, size, and per-bank offsets.
The number of banks is equal to
dataArray.length
.
Each array must be at least as large as
size
plus the
corresponding offset. There must be an entry in the offsets
array for each data array.
Parameters:
-
dataArray - An array of arrays of
float
s to be
used as the banks of this
DataBuffer
.
-
size - The number of elements of each array to be used.
-
offsets - An array of integer offsets, one for each bank.