summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/circle_shader.hpp
blob: 35d052bf9be4ad8db947c706f63520f0ca280115 (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/circle_attributes.hpp>
#include <mbgl/shader/circle_uniforms.hpp>

namespace mbgl {

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

    using AttributesType = CircleAttributes;
    using UniformsType = CircleUniforms;

    typename CircleAttributes::State attributesState;
    typename CircleUniforms::State uniformsState;
};

} // namespace mbgl