FileTexture.h 260 B

123456789101112131415161718
  1. #ifndef FILE_TEXTURE_H
  2. #define FILE_TEXTURE_H
  3. #include <GL/glew.h>
  4. #include "client/rendering/wrapper/Texture.h"
  5. class FileTexture final {
  6. public:
  7. FileTexture(const char* path);
  8. void bind(uint index) const;
  9. private:
  10. Texture texture;
  11. };
  12. #endif