#ifndef MONS_TEXTURE_H #define MONS_TEXTURE_H #include "image.h" #include "shader.h" #include typedef struct mons_texture { unsigned int id; unsigned int width; unsigned int height; } mons_texture; mons_texture mons_texture_from_image(mons_image image); mons_texture mons_texture_load(FILE *stream); void mons_texture_bind(mons_program shader, unsigned int unit, mons_texture texture); #endif