copy method

Copies another source to this source.

Implementation

InterleavedBuffer copy(InterleavedBuffer source) {
  array = source.array.clone();
  count = source.count;
  stride = source.stride;
  usage = source.usage;

  return this;
}