#pragma once #include #include #include #include #include #include namespace mbgl { class HeatmapTextureProgram : public Program< HeatmapTextureProgram, gfx::PrimitiveType::Triangle, TypeList, TypeList< uniforms::matrix, uniforms::world, uniforms::opacity>, TypeList< textures::image, textures::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