SFML texture from file max size code example Example: SFML texture from file max size int max_size_in_pixel = sf::Texture::getMaximumSize();