bufferSubDataNormal method

dynamic bufferSubDataNormal(
  1. dynamic target,
  2. dynamic offset,
  3. dynamic data,
  4. dynamic srcOffset,
  5. dynamic length,
)

Implementation

bufferSubDataNormal(target, offset, data, srcOffset, length) {
  int size = length;
  var dataPtr = toPointer(data);
  glBufferSubData(target, offset, size, dataPtr.cast<Void>());
}