uint32_t GetWidth() const override
Gives the texture width.
void Bind(uint32_t slot) const override
Binds the texture to the slot.
~OpenGLTexture2D() override
void Upload(const void *pixelData, const uint32_t width, const uint32_t height, const Params ¶ms) override
uint32_t GetHeight() const override
Gives the texture height.
bool HasSemiTransparency() const override
Checks if texture has semi transparency.
A regular 2D texture with 1 layer.
Params to use when creating a texture.