Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

texture.h

Go to the documentation of this file.
00001 // Texture Class    by Alan Baylis 2001
00002 
00003 #ifndef TextureH
00004 #define TextureH
00005 
00006 #include "shared.h"
00007 
00008 class TEXTURE
00009 {
00010     public:
00011         TEXTURE();
00012         ~TEXTURE();
00013 
00014         bool LoadTGA();
00015 
00016         char TexName[256];
00017         GLubyte* ImageData;                                                     // Image Data (Up To 32 Bits)
00018         GLuint Bpp;                                                            // Image Color Depth In Bits Per Pixel
00019         GLuint Width;                                                          // Image Width
00020         GLuint Height;                                                         // Image Height
00021         GLuint TexID;                                                          // Texture ID Used To Select A Texture
00022         float Vertex1_x;
00023         float Vertex1_y;
00024         float Vertex2_x;
00025         float Vertex2_y;
00026         float Vertex3_x;
00027         float Vertex3_y;
00028 };
00029 
00030 #endif
00031 

Generated on Fri Dec 23 05:22:20 2005 for Template by doxygen1.2.15