Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  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. extern GLushort *
  24. LoadYUVImage( const char *imageFile, GLint *width, GLint *height );
  25.  
  26. #endif
  27.