1 2 3 4 5 6 7 8 9 10
#ifndef TEXTURE_H #define TEXTURE_H #include <GL/glew.h> extern GLuint Texture_Create2D( const char *path ); extern GLuint Texture_CreateCubeMap( const char *paths[6] ); extern void Texture_Destroy( GLuint ID ); #endif // TEXTURE_H