rlDrawVertexArrayElements function

void rlDrawVertexArrayElements(
  1. int offset,
  2. int count,
  3. Uint8List buffer
)

Implementation

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