summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/debug_program.hpp
blob: 61125b55bf72fca13a6bb5f1aab944f63962e8a0 (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
#pragma once

#include <mbgl/programs/program.hpp>
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
#include <mbgl/style/properties.hpp>

namespace mbgl {

class DebugProgram : public Program<
    DebugProgram,
    gfx::PrimitiveType::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