]> git.localhorst.tv Git - gong.git/blob - src/graphics/SkyBox.hpp
code, assets, and other stuff stolen from blank
[gong.git] / src / graphics / SkyBox.hpp
1 #ifndef GONG_GRAPHICS_SKYBOX_HPP_
2 #define GONG_GRAPHICS_SKYBOX_HPP_
3
4 #include "CubeMap.hpp"
5 #include "SkyBoxMesh.hpp"
6
7
8 namespace gong {
9 namespace graphics {
10
11 class Viewport;
12
13 class SkyBox {
14
15 public:
16         explicit SkyBox(CubeMap &&);
17
18         void Render(Viewport &) noexcept;
19
20 private:
21         CubeMap texture;
22         SkyBoxMesh mesh;
23
24 };
25
26 }
27 }
28
29 #endif