Texture implementation that makes use of raylib.
Definition BackendTextureRaylib.hpp:45
const Texture2D & getInternalTexture() const
Returns a pointer to the internal Texture2D.
~BackendTextureRaylib() override
Destructor.
void replaceInternalTexture(const Texture2D &texture)
Replaces the internal texture by a different one.
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.
void setSmooth(bool smooth) override
Changes whether the smooth filter is enabled or not.
Base class for texture implementations that depend on the backend.
Definition BackendTexture.hpp:43