#include <SFML/Graphics/RenderTarget.hpp>#include <SFML/Graphics/View.hpp>#include <SFML/Graphics/Rect.hpp>Go to the source code of this file.
Namespaces | |
| namespace | ml |
Functions | |
| template<typename F> | |
| void | ml::withClipView (sf::RenderTarget &target, sf::FloatRect rect, F &&body) |
Render body with an sf::View clipped to rect (world coords). | |