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

texture.h

Go to the documentation of this file.
00001 // Texture handling
00002 #include <GL/gl.h>
00003 
00004 
00005 // Textures which will be initialized
00006 enum TEXTURE {
00007   TEX_ROCK,
00008   TEX_SNOW,
00009   TEX_GRASS,
00010   TEX_SAND,
00011   TEX_CHECK,
00012   TEX_N
00013 };
00014 
00015 
00016 // Initialize all textures
00017 void initTextures();
00018 
00019 // Delete all textures
00020 void deleteTextures();
00021 
00022 // Get the OpenGL texture handle of a texture
00023 GLuint texture( TEXTURE t );
00024 
00025 //
00026 extern GLuint g_cube_map_handle;
00027 

Generated on Thu Jan 20 02:46:58 2005 for Main_Demo by doxygen 1.3.6