Texture implementation that makes use of modern OpenGL ES.
Definition BackendTextureGLES2.hpp:41
unsigned int getInternalTexture() const
Returns the id of the OpenGL texture.
~BackendTextureGLES2() override
Destructor.
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:43