]> git.localhorst.tv Git - blobs.git/blob - src/app/Assets.hpp
some texture
[blobs.git] / src / app / Assets.hpp
1 #ifndef BLOBS_APP_ASSETS_HPP_
2 #define BLOBS_APP_ASSETS_HPP_
3
4 #include "../graphics/ArrayTexture.hpp"
5 #include "../graphics/PlanetSurface.hpp"
6 #include "../graphics/SunSurface.hpp"
7
8 #include <string>
9
10
11 namespace blobs {
12 namespace app {
13
14 struct Assets {
15
16         std::string path;
17         std::string tile_path;
18
19         struct {
20                 graphics::ArrayTexture tiles;
21         } textures;
22
23         struct {
24                 graphics::PlanetSurface planet_surface;
25                 graphics::SunSurface sun_surface;
26         } shaders;
27
28         Assets();
29         ~Assets();
30
31         Assets(const Assets &) = delete;
32         Assets &operator =(const Assets &) = delete;
33
34         Assets(Assets &&) = delete;
35         Assets &operator =(Assets &&) = delete;
36
37         void LoadTileTexture(const std::string &name, graphics::ArrayTexture &, int layer) const;
38
39 };
40
41 }
42 }
43
44 #endif