#ifndef MBGL_SHADER_SHADER_BOX #define MBGL_SHADER_SHADER_BOX #include #include #include namespace mbgl { class CollisionBoxShader : public Shader { public: CollisionBoxShader(gl::GLObjectStore&); void bind(GLbyte *offset) final; UniformMatrix<4> u_matrix = {"u_matrix", *this}; Uniform u_scale = {"u_scale", *this}; Uniform u_zoom = {"u_zoom", *this}; Uniform u_maxzoom = {"u_maxzoom", *this}; protected: GLint a_extrude = -1; GLint a_data = -1; }; } // namespace mbgl #endif // MBGL_SHADER_BOX_SHADER