Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBBitmap is a minimal interface for bitmap to be painted by TBRenderer. More...
#include <tb_renderer.h>
Public Member Functions | |
virtual | ~TBBitmap () |
Note: Implementations for batched renderers should call TBRenderer::FlushBitmap to make sure any active batch is being flushed before the bitmap is deleted. More... | |
virtual int | Width ()=0 |
virtual int | Height ()=0 |
virtual void | SetData (uint32_t *data)=0 |
Update the bitmap with the given data (in BGRA32 format). More... | |
TBBitmap is a minimal interface for bitmap to be painted by TBRenderer.
|
inlinevirtual |
Note: Implementations for batched renderers should call TBRenderer::FlushBitmap to make sure any active batch is being flushed before the bitmap is deleted.
|
pure virtual |
Update the bitmap with the given data (in BGRA32 format).
Note: Implementations for batched renderers should call TBRenderer::FlushBitmap to make sure any active batch is being flushed before the bitmap is changed.