rlDrawVertexArrayElementsInstanced function

void rlDrawVertexArrayElementsInstanced(
  1. int offset,
  2. int count,
  3. Uint8List buffer,
  4. int instances,
)

Implementation

void rlDrawVertexArrayElementsInstanced(
  int offset, int count, Uint8List buffer, int instances,
) => ffi.using((arena) {
  final ptr = arena<Uint8>(buffer.length);
  ptr.asTypedList(buffer.length).setAll(0, buffer);
  raylib.rlDrawVertexArrayElementsInstanced(
    offset, count, ptr.cast(), instances,
  );
});