summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/fill_outline_pattern_shader.hpp
blob: a33aa532febc0a622084f6a11b50f10a106e1e34 (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/fill_uniforms.hpp>
#include <mbgl/shader/fill_attributes.hpp>

namespace mbgl {

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

    using AttributesType = FillAttributes;
    using UniformsType = FillPatternUniforms;

    typename FillAttributes::State attributesState;
    typename FillPatternUniforms::State uniformsState;
};

} // namespace mbgl