blob: 3b07e5b4247a74ec43b739e583c100add49897a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include <mbgl/programs/program.hpp>
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
#include <mbgl/shaders/debug.hpp>
#include <mbgl/style/properties.hpp>
namespace mbgl {
class DebugProgram : public Program<
shaders::debug,
gfx::Line,
TypeList<
attributes::a_pos>,
TypeList<
uniforms::u_matrix,
uniforms::u_color>,
TypeList<>,
style::Properties<>>
{
public:
using Program::Program;
};
using DebugLayoutVertex = DebugProgram::LayoutVertex;
using DebugAttributes = DebugProgram::AttributeList;
} // namespace mbgl
|