FileTexture.h 238 B

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