Texture implementation that makes use of modern OpenGL.
Definition BackendTextureOpenGL3.hpp:41
unsigned int getInternalTexture() const
Returns the id of the OpenGL 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.
~BackendTextureOpenGL3() override
Destructor.
Base class for texture implementations that depend on the backend.
Definition BackendTexture.hpp:43