rlDrawVertexArrayElementsInstanced method

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

Implementation

void rlDrawVertexArrayElementsInstanced(
  num offset,
  num count,
  Uint16List buffer,
  num instances,
) => run(
  () => 'rlDrawVertexArrayElementsInstanced($offset, $count, ${buffer.length}, $instances)',
  () => rl.Rlgl.rlDrawVertexArrayElementsInstanced(
    offset.toInt(),
    count.toInt(),
    refTypedListUInt16(buffer).cast(),
    instances.toInt(),
  ),
);