drawBuffers method

dynamic drawBuffers(
  1. dynamic buffers
)

Implementation

drawBuffers(buffers) {
  final ptr = calloc<Uint32>(buffers.length);
  ptr.asTypedList(buffers.length).setAll(0, List<int>.from(buffers));

  glDrawBuffers(buffers.length, ptr);

  calloc.free(ptr);
  return;
}