blob: 26502183e7e0792c88d1fe8ef76c86b78454c857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef ICON_H
#define ICON_H
#include <filesystem>
#include <glArrays.h>
#include <glm/glm.hpp>
class Image;
class Icon {
public:
explicit Icon(const std::filesystem::path & fileName);
explicit Icon(const Image & image);
void Bind() const;
const glm::vec2 size;
private:
glTexture m_texture;
};
#endif
|