211
213
double xsize; // size of underlying image
213
215
TEXTURE_DESC() : present(false),id(0),xsize(0),ysize(0) {};
214
void draw(float* pos, float* size, int xalign, int yalign);
216
void draw(float* pos, float* size, int xalign, int yalign, float alpha=1.);
215
217
int load_image_file(const char* filename);
216
218
int CreateTextureJPG(const char* strFileName);
217
219
int CreateTextureBMP(const char* strFileName);