Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CAtlas Class Reference

Public Member Functions

 CAtlas (ECOLOR_FORMAT format, int width, int height)
core::recti createRect (int w, int h)
core::recti devideRect (int rectID, int w, int h)
void insertSortRect (core::recti r)
IImage * getImage ()
ITexture * getTexture ()
bool needUpdateTexture ()
void updateTexture ()
void bitBltImage (IImage *img, int x, int y)

Static Public Member Functions

static void calcCellSize (int *w, int *h)

Protected Attributes

ITexture * m_texture
IImage * m_image
bool m_needUpdateTexture
int m_width
int m_height
std::vector< core::recti > m_rects

The documentation for this class was generated from the following file: