Constructs an unsigned-short based
DataBuffer
with specified arrays, size, and offsets. The number of banks is equal to
dataArray.length
. Each array must be at least as large as
size
+ the corresponding offset. There must be an entry in the offset array for each
dataArray
entry. For each bank, only elements
offset
through
offset
+
size
- 1 should be used by accessors of this
DataBuffer
.
Note that DataBuffer
objects created by this constructor may be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory).