#ifndef _TEXTURE_H_ #define _TEXTURE_H_ #include #include typedef struct { GLuint id; int width, height; } Texture; Texture *texture_create(unsigned char *data, int width, int height, GLenum format); GLuint texture_create_cubemap(char *path); void texture_delete(Texture *texture); Texture *texture_get(char *path); #endif