You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
452 B

4 years ago
  1. #pragma once
  2. #include "ggl.h"
  3. unsigned char * LoadFileContent(const char*path, int&filesize);
  4. unsigned char * DecodeBMP(unsigned char*bmpFileData, int&width, int&height);
  5. GLuint CreateTexture2D(unsigned char*pixelData, int width, int height, GLenum type);
  6. GLuint CreateTexture2DFromBMP(const char *bmpPath);
  7. GLuint CreateTextureCubeFromBMP(const char *front, const char *back, const char *left,
  8. const char *right, const char *top, const char *bottom);