29 lines
587 B
C++
29 lines
587 B
C++
#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
|