Horizon
Loading...
Searching...
No Matches
src
canvas3d
background_renderer.hpp
1
#pragma once
2
#include "util/gl_inc.h"
3
4
namespace
horizon {
5
class
BackgroundRenderer
{
6
public
:
7
BackgroundRenderer
(
class
Canvas3DBase
&c);
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_renderer.hpp:5
horizon::Canvas3DBase
Definition
canvas3d_base.hpp:20
Generated by
1.9.8