Texture implementation that makes use of SFML.
Definition: BackendTextureSFML.hpp:41
const sf::Texture & getInternalTexture() const
Returns a const reference to the internal SFML texture.
sf::Texture & getInternalTexture()
Returns a reference to the internal SFML texture.
void setSmooth(bool smooth) override
Changes whether the smooth filter is enabled or not.
bool loadTextureOnly(Vector2u size, const std::uint8_t *pixels, bool smooth) override
Loads the texture from an array of 32-bits RGBA pixels, but don't take ownership of the pixels.
Base class for texture implementations that depend on the backend.
Definition: BackendTexture.hpp:41