lofivor/releases/0.3.0-quad_batching.txt
2025-12-17 21:01:21 -05:00

9 lines
347 B
Text

bypass the wrapper, go straight to rlgl: 2x more
- skip drawTexture(), submit vertices directly via rl.gl
- manually build quads: rlTexCoord2f + rlVertex2f per corner
- rlBegin/rlEnd wraps the whole entity loop
- ~100k entities at 60fps
- eliminates per-call function overhead
- vertices go straight to GPU buffer
- 20x improvement over baseline