Horizon
background.hpp
1 #pragma once
2 #include "util/gl_inc.h"
3 
4 namespace horizon {
6 public:
8  void realize();
9  void render();
10 
11 private:
12  Canvas3DBase &ca;
13 
14  GLuint program;
15  GLuint vao;
16 
17  GLuint color_top_loc;
18  GLuint color_bottom_loc;
19 };
20 } // namespace horizon
horizon::BackgroundRenderer
Definition: background.hpp:5
horizon::Canvas3DBase
Definition: canvas3d_base.hpp:15