Which DXT Compression to Use? Obviously, there are some trade-offs between the different formats whic...
Definition: TextureEntity.h:29
void Init(const char *str)
Definition: TextureParams.cpp:21
bool IsNineTileTexture()
whether it is nine tile image.
Definition: TextureParams.h:36
void drawTexture(CPainter *painter, int x, int y, int w, int h, const RECT *rcTextures=NULL, int nCount=-1)
draw texture to given target.
Definition: TextureParams.cpp:141
int GetImageRects(RECT *rcTextures)
return all image rects
Definition: TextureParams.cpp:55
bool HasSubRegion()
if a sub region of the original image should be used.
Definition: TextureParams.h:42
for reading texture parameters from strings like "texture/whitedot.png:10 10 10 10", "texture/whitedot.png;0 0 64 64:10 10 10 10"
Definition: TextureParams.h:10
TextureEntity * GetTexture()
get the texture
Definition: TextureParams.h:33