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.
|
|
#pragma once
#include "ggl.h"
#include "SOIL.h"
unsigned char * LoadFileContent(const char*path, int&filesize); unsigned char * DecodeBMP(unsigned char*bmpFileData, int&width, int&height); GLuint CreateTexture2D(unsigned char*pixelData, int width, int height, GLenum type); GLuint CreateTexture2DFromBMP(const char *bmpPath); GLuint CreateTextureCubeFromBMP(const char *front, const char *back, const char *left, const char *right, const char *top, const char *bottom); GLuint CreateTextureFromFile(const char*filePath);
|