glMultiDrawArrays
glMultiDrawArrays is a function in the OpenGL API used for drawing multiple sets of geometric primitives. It allows applications to render numerous distinct arrays of vertices without requiring multiple individual calls to glDrawArrays or glDrawElements. This can lead to performance improvements by reducing the overhead associated with function calls and state changes.
The function takes a count of the number of primitive sets to be drawn, and then pointers
By batching multiple draw operations, glMultiDrawArrays helps to minimize CPU-GPU synchronization points and improves data transfer