#include <tinyglbitmap.h>
Public Member Functions | |
void | bind () const override |
TinyGL::BlitImage * | getBlitImage () const |
void | update (const Graphics::Surface *surface, const byte *palette=nullptr) override |
void | setSamplingFilter (SamplingFilter filter) override |
Graphics::PixelFormat | getBestPixelFormat () const override |
Public Member Functions inherited from Stark::Gfx::Bitmap | |
uint32 | width () const |
uint32 | height () const |
Protected Attributes | |
TinyGL::BlitImage * | _blitImage |
Protected Attributes inherited from Stark::Gfx::Bitmap | |
uint32 | _width |
uint32 | _height |
Additional Inherited Members | |
Public Types inherited from Stark::Gfx::Bitmap | |
enum | SamplingFilter { kNearest, kLinear } |
A TinyGL bitmap wrapper
|
overridevirtual |
Make the texture active
Implements Stark::Gfx::Bitmap.
|
overridevirtual |
Define or update the texture pixel data
Implements Stark::Gfx::Bitmap.
|
overridevirtual |
Set the filter used when sampling the texture
Implements Stark::Gfx::Bitmap.
|
overridevirtual |
Get the most ideal pixel format for uploading to a texture
Implements Stark::Gfx::Bitmap.