summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/fill_outline_shader.hpp
blob: e68861641f44753769fbc6c4f9d29909d5b3a1d7 (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 FillOutlineShader : public gl::Shader {
public:
    FillOutlineShader(gl::Context&, Defines defines = None);

    using AttributesType = FillAttributes;
    using UniformsType = FillColorUniforms;

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

} // namespace mbgl