rlDrawVertexArrayElementsInstanced method

void rlDrawVertexArrayElementsInstanced(
  1. num offset,
  2. num count,
  3. Uint16List buffer,
  4. num instances,
)

Draw vertex array elements with instancing

Implementation

void rlDrawVertexArrayElementsInstanced(
  num offset,
  num count,
  Uint16List buffer,
  num instances,
) => run(
  () => _debugLabels.rlDrawVertexArrayElementsInstanced(offset, count, buffer, instances),
  () => _flat.rlDrawVertexArrayElementsInstanced(
    offset.toInt(),
    count.toInt(),
    $.Uint16$.FromTypedList(buffer).cast(),
    instances.toInt(),
  ),
);