2000-02-10 17:44:50 +00:00
|
|
|
/* readtex.h */
|
|
|
|
|
|
|
|
#ifndef READTEX_H
|
|
|
|
#define READTEX_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <GL/gl.h>
|
|
|
|
|
|
|
|
|
2000-06-27 18:54:44 +01:00
|
|
|
extern GLboolean
|
|
|
|
LoadRGBMipmaps( const char *imageFile, GLint intFormat );
|
2000-02-10 17:44:50 +00:00
|
|
|
|
|
|
|
|
2000-06-27 18:54:44 +01:00
|
|
|
extern GLboolean
|
|
|
|
LoadRGBMipmaps2( const char *imageFile, GLenum target,
|
|
|
|
GLint intFormat, GLint *width, GLint *height );
|
|
|
|
|
|
|
|
|
|
|
|
extern GLubyte *
|
|
|
|
LoadRGBImage( const char *imageFile,
|
|
|
|
GLint *width, GLint *height, GLenum *format );
|
2000-02-10 17:44:50 +00:00
|
|
|
|
2003-05-20 10:54:58 +01:00
|
|
|
extern GLushort *
|
|
|
|
LoadYUVImage( const char *imageFile, GLint *width, GLint *height );
|
2000-02-10 17:44:50 +00:00
|
|
|
|
|
|
|
#endif
|