1 /* readtex.h */ 2 3 #ifndef READTEX_H 4 #define READTEX_H 5 6 7 #include <GL/gl.h> 8 9 10 extern GLboolean 11 LoadRGBMipmaps( const char *imageFile, GLint intFormat ); 12 13 14 extern GLboolean 15 LoadRGBMipmaps2( const char *imageFile, GLenum target, 16 GLint intFormat, GLint *width, GLint *height ); 17 18 19 extern GLubyte * 20 LoadRGBImage( const char *imageFile, 21 GLint *width, GLint *height, GLenum *format ); 22 23 24 #endif 25