summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/debug_program.hpp
blob: f1782e19e3520066ef430952d697a0345d77d0cc (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::pos>,
    TypeList<
        uniforms::matrix,
        uniforms::color>,
    TypeList<>,
    style::Properties<>>
{
public:
    using Program::Program;
};

using DebugLayoutVertex = DebugProgram::LayoutVertex;
using DebugAttributes = DebugProgram::AttributeList;

} // namespace mbgl