#include "texture2d.h"
Functions | |
bool | Tga2char (const char *filename, int &width, int &height, int &bpp, char **data) |
Converts a TGA image to a string of characters. |
This file handles data from a TGA image and converts the data into a texture.
bool Tga2char | ( | const char * | filename, | |
int & | width, | |||
int & | height, | |||
int & | bpp, | |||
char ** | data | |||
) |
Converts a TGA image to a string of characters.
filename | the filename of the TGA image | |
width | image width | |
height | image height | |
bpp | bits per pixel | |
data | storage for the texture |