summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/symbol_icon_shader.hpp
blob: b04ae76d75a341b5af8c8df5ae1950985b502e7c (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/symbol_uniforms.hpp>
#include <mbgl/shader/symbol_attributes.hpp>

namespace mbgl {

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

    using AttributesType = SymbolAttributes;
    using UniformsType = SymbolIconUniforms;

    typename SymbolAttributes::State attributesState;
    typename SymbolIconUniforms::State uniformsState;
};

} // namespace mbgl