testshell/utils/texture2d.cpp File Reference

Texture reading source file. More...

#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.


Detailed Description

Texture reading source file.

This file handles data from a TGA image and converts the data into a texture.


Function Documentation

bool Tga2char ( const char *  filename,
int &  width,
int &  height,
int &  bpp,
char **  data 
)

Converts a TGA image to a string of characters.

Parameters:
filename the filename of the TGA image
width image width
height image height
bpp bits per pixel
data storage for the texture
Returns:
TRUE if the function ended with success


Generated on Thu May 17 20:28:03 2007 for Ocean View by  doxygen 1.5.2