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