bufferDataNormal method

dynamic bufferDataNormal(
  1. int target,
  2. int size,
  3. dynamic data,
  4. int usage,
)

Implementation

bufferDataNormal(int target, int size, data, int usage) {
  var nativeBuffer = toPointer(data);
  glBufferData(target, size, nativeBuffer.cast<Void>(), usage);
  calloc.free(nativeBuffer);
}