1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef TEXTURE_H #define TEXTURE_H #include <common.h> namespace Texture{ GLuint loadTexture(const char *fileName); } class Texturec{ public: Texturec(uint amt, ...); void bindNext(); void bindPrev(); GLuint *image; private: int texState; }; #endif //TEXTURE_H