#include <tinygltexture.h>
Public Member Functions | |
void | bind () const override |
void | setLevelCount (uint32 count) override |
void | addLevel (uint32 level, const Graphics::Surface *surface, const byte *palette=nullptr) override |
Protected Member Functions | |
void | updateLevel (uint32 level, const Graphics::Surface *surface, const byte *palette=nullptr) |
Protected Attributes | |
TGLuint | _id |
uint32 | _levelCount |
A TinyGL texture wrapper
|
overridevirtual |
Make the texture active
Implements Stark::Gfx::Texture.
|
overridevirtual |
Define the total number of levels of details
Must be called before adding levels
Implements Stark::Gfx::Texture.
|
overridevirtual |
Add a detail level to the texture
Implements Stark::Gfx::Texture.