Horizon
src
canvas
selectables_renderer.hpp
1
#pragma once
2
#include <epoxy/gl.h>
3
4
namespace
horizon {
5
class
SelectablesRenderer
{
6
public
:
7
SelectablesRenderer
(
class
CanvasGL
*ca,
class
Selectables
*sel);
8
void
realize();
9
void
render();
10
void
push();
11
12
private
:
13
CanvasGL
*ca;
14
Selectables
*sel;
15
16
GLuint program;
17
GLuint vao;
18
GLuint vbo;
19
20
GLuint screenmat_loc;
21
GLuint viewmat_loc;
22
GLuint scale_loc;
23
24
GLuint color_always_loc;
25
GLuint color_inner_loc;
26
GLuint color_outer_loc;
27
GLuint color_prelight_loc;
28
};
29
}
// namespace horizon
horizon::Selectables
Definition:
selectables.hpp:60
horizon::SelectablesRenderer
Definition:
selectables_renderer.hpp:5
horizon::CanvasGL
Definition:
canvas_gl.hpp:15
Generated by
1.8.16