summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/line_pattern_shader.hpp
blob: d1013ce4f08a152af276c130d46a2e746956372f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <mbgl/gl/shader.hpp>
#include <mbgl/shader/line_uniforms.hpp>
#include <mbgl/shader/line_attributes.hpp>

namespace mbgl {

class LinePatternShader : public gl::Shader {
public:
    LinePatternShader(gl::Context&, Defines defines = None);

    using AttributesType = LineAttributes;
    using UniformsType = LinePatternUniforms;

    typename LineAttributes::State attributesState;
    typename LinePatternUniforms::State uniformsState;
};

} // namespace mbgl