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