bufferSubDataNative method

dynamic bufferSubDataNative(
  1. dynamic target,
  2. dynamic offset,
  3. NativeArray<num> data,
  4. dynamic srcOffset,
  5. dynamic length,
)

Implementation

bufferSubDataNative(target, offset, NativeArray data, srcOffset, length) {
  int size = length;
  glBufferSubData(target, offset, size, data.data.cast<Void>());
}