#include <tbuibitmap.h>
Inherits tb::TBBitmap.
◆ TBUIBitmap()
◆ ~TBUIBitmap()
TBUI::TBUIBitmap::~TBUIBitmap |
( |
| ) |
|
|
override |
Note: Implementations for batched renderers should call TBRenderer::FlushBitmap to make sure any active batch is being flushed before the bitmap is deleted.
◆ GetTexture()
◆ Height()
int TBUI::TBUIBitmap::Height |
( |
| ) |
|
|
override |
◆ Init()
bool TBUI::TBUIBitmap::Init |
( |
int | width, |
|
|
int | height, |
|
|
unsigned int * | data ) |
◆ SetData()
void TBUI::TBUIBitmap::SetData |
( |
unsigned int * | data | ) |
|
|
override |
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.
◆ Width()
int TBUI::TBUIBitmap::Width |
( |
| ) |
|
|
override |
◆ height
int TBUI::TBUIBitmap::height = 0 |
|
private |
◆ renderer
◆ texture
◆ width
int TBUI::TBUIBitmap::width = 0 |
|
private |
The documentation for this class was generated from the following files: