diff options
Diffstat (limited to 'include/mbgl/shader/line_shader.hpp')
-rw-r--r-- | include/mbgl/shader/line_shader.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/mbgl/shader/line_shader.hpp b/include/mbgl/shader/line_shader.hpp deleted file mode 100644 index b789330882..0000000000 --- a/include/mbgl/shader/line_shader.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef MBGL_SHADER_SHADER_LINE -#define MBGL_SHADER_SHADER_LINE - -#include <mbgl/shader/shader.hpp> -#include <mbgl/shader/uniform.hpp> - -namespace mbgl { - -class LineShader : public Shader { -public: - LineShader(); - - void bind(char *offset); - - UniformMatrix<4> u_matrix = {"u_matrix", *this}; - UniformMatrix<4> u_exmatrix = {"u_exmatrix", *this}; - Uniform<std::array<float, 4>> u_color = {"u_color", *this}; - Uniform<std::array<float, 2>> u_linewidth = {"u_linewidth", *this}; - Uniform<std::array<float, 2>> u_dasharray = {"u_dasharray", *this}; - Uniform<float> u_ratio = {"u_ratio", *this}; - Uniform<float> u_blur = {"u_blur", *this}; - -private: - int32_t a_pos = -1; - int32_t a_extrude = -1; - int32_t a_linesofar = -1; -}; - - -} - -#endif |