FileTexture.h 232 B

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