#ifndef MBGL_SHADER_SHADER_LINE #define MBGL_SHADER_SHADER_LINE #include #include 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> u_color = {"u_color", *this}; Uniform> u_linewidth = {"u_linewidth", *this}; Uniform> u_dasharray = {"u_dasharray", *this}; Uniform u_ratio = {"u_ratio", *this}; Uniform u_blur = {"u_blur", *this}; private: int32_t a_pos = -1; int32_t a_extrude = -1; int32_t a_linesofar = -1; }; } #endif