#pragma once #include #include #include #include #include #include #include namespace mbgl { class ExtrusionTextureProgram : public Program< shaders::extrusion_texture, gfx::Triangle, TypeList, TypeList< uniforms::u_matrix, uniforms::u_world, uniforms::u_opacity>, TypeList< textures::u_image>, style::Properties<>> { public: using Program::Program; static LayoutVertex layoutVertex(Point p) { return LayoutVertex{ {{ p.x, p.y }} }; } }; using ExtrusionTextureLayoutVertex = ExtrusionTextureProgram::LayoutVertex; using ExtrusionTextureAttributes = ExtrusionTextureProgram::Attributes; } // namespace mbgl