tzachshabtay / MonoAGS

AGS (Adventure Game Studio) reimagined in Mono
https://tzachshabtay.github.io/MonoAGS/
Artistic License 2.0
28 stars 8 forks source link

OpenGL- render sprites as batches #44

Open tzachshabtay opened 8 years ago

tzachshabtay commented 8 years ago

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.