123456789101112131415 |
- #ifndef FILETEXTURE_H
- #define FILETEXTURE_H
- #include "rendering/Texture.h"
- class FileTexture final {
- Texture texture;
- public:
- FileTexture(const char* path, int maxMipMaps = 0, bool linear = false);
- void bindTo(int index) const;
- };
- #endif
|