#pragma once #include #include #include #include #include #include namespace mbgl { namespace uniforms { MBGL_DEFINE_UNIFORM_SCALAR(uint32_t, u_color_ramp); } // namespace uniforms class HeatmapTextureProgram : public Program< shaders::heatmap_texture, gfx::Triangle, TypeList, TypeList< uniforms::u_matrix, uniforms::u_world, uniforms::u_image, uniforms::u_color_ramp, uniforms::u_opacity>, TypeList<>, style::Properties<>> { public: using Program::Program; static LayoutVertex layoutVertex(Point p) { return LayoutVertex{ {{ p.x, p.y }} }; } }; using HeatmapTextureLayoutVertex = HeatmapTextureProgram::LayoutVertex; using HeatmapTextureAttributes = HeatmapTextureProgram::Attributes; } // namespace mbgl