Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

texpng.h File Reference


Defines

#define PNG_BYTES_TO_CHECK   4

Typedefs

typedef tImagePNGPtImagePNG

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)

Define Documentation

#define PNG_BYTES_TO_CHECK   4
 


Typedef Documentation

typedef struct tImagePNG* PtImagePNG
 


Function Documentation

void CheckImageDimensions int  sizeX,
int  sizeY,
char *  strFileName
 

void CreateBumpTexturePNG unsigned int *  textureId,
char *  strFileName
 

void CreateTexturePNG unsigned int *  textureId,
char *  strFileName
 

void loadPngTex char *  fname,
struct tImagePNG pImagePNG,
int *  hasAlpha
 

Charge une texture PNG.

Parameters:
fname Nom du fichier a charger.
pImagePNG Resultat du chargement.
hasAlpha Indique si l'image chargee a un canal alpha.

void ReverseImage int  width,
int  height,
unsigned char *  data,
int  bytesPerPixel
 


Generated on Thu Mar 24 12:53:48 2005 for Septant by  doxygen 1.4.1