MonoAGS
MonoAGS copied to clipboard
OpenGL- render sprites as batches
To minimize the passes to OpenGL, we need to group the sprite arrays into an array of arrays (element array). Each shader change (or some max size) will start a new batch. Also see here.