Divides a texture into a uniform grid of sub-rectangles.
static ml::ImageRects getImageRects(const sf::Texture &texture, sf::Vector2i coord)
static ml::ImageRects getImageRects(const sf::Texture &texture, int rows, int cols)
Slice a texture into a rows × cols grid of equal rectangles.