This project has been archived until further notice. Feel free to fork it and make changes.
Documentation Website: https://journeyman-dev.github.io/mpbp/
mpbp (Multi-Page Bin Packing library) is a free and open source library for bin packing written in C++ 20. It provides an easy to use bin packing algorithm with support for both offline and online packing. mpbp tries to optimally place Rects in multiple bins of a specific size in as few bins as possible. This system is designed for usage in creating sprite batch rendering systems that utilize more than one texture atlas page.