FileTexture.h 211 B

123456789101112131415
  1. #ifndef FILETEXTURE_H
  2. #define FILETEXTURE_H
  3. #include "wrapper/Texture.h"
  4. class FileTexture final {
  5. Texture texture;
  6. public:
  7. FileTexture(const char* path);
  8. void bindTo(int index) const;
  9. };
  10. #endif