Defines | |
#define | PNG_BYTES_TO_CHECK 4 |
Typedefs | |
typedef tImagePNG * | PtImagePNG |
Functions | |
void | loadPngTex (char *fname, struct tImagePNG *pImagePNG, int *hasAlpha) |
Charge une texture PNG. | |
void | ReverseImage (int width, int height, unsigned char *data, int bytesPerPixel) |
void | CheckImageDimensions (int sizeX, int sizeY, char *strFileName) |
void | CreateTexturePNG (unsigned int *textureId, char *strFileName) |
void | CreateBumpTexturePNG (unsigned int *textureId, char *strFileName) |
|
|
|
|
|
|
|
|
|
|
|
Charge une texture PNG.
|
|
|