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

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

namespace mbgl {

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

    using AttributesType = LineAttributes;
    using UniformsType = LineSDFUniforms;

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


} // namespace mbgl