Horizon
src
canvas3d
background.hpp
1
#pragma once
2
#include <epoxy/gl.h>
3
4
namespace
horizon {
5
class
BackgroundRenderer
{
6
public
:
7
BackgroundRenderer
(
class
Canvas3D
*c);
8
void
realize();
9
void
render();
10
11
private
:
12
Canvas3D
*ca;
13
14
GLuint program;
15
GLuint vao;
16
17
GLuint color_top_loc;
18
GLuint color_bottom_loc;
19
};
20
}
// namespace horizon
horizon::Canvas3D
Definition:
canvas3d.hpp:17
horizon::BackgroundRenderer
Definition:
background.hpp:5
Generated by
1.8.16