/* osgEarth
 * Copyright 2025 Pelican Mapping
 * MIT License
 */
#pragma once

#include <osgEarthProcedural/Export>
#include <osgEarth/FeatureImageRTTLayer>

namespace osgEarth { namespace Procedural
{
    using namespace osgEarth;

    /**
     * Renders a road surface.
     * @deprecated Use the FeatureImageRTTLayer, it's the same thing.
     */
    class OSGEARTHPROCEDURAL_EXPORT RoadSurfaceLayer : public FeatureImageRTTLayer
    {
    public: // serialization
        class OSGEARTHPROCEDURAL_EXPORT Options : public FeatureImageRTTLayer::Options {
        public:
            META_LayerOptions(osgEarthProcedural, Options, FeatureImageRTTLayer::Options);
            void fromConfig(const Config& conf) { }
        };

    public:
        META_Layer(osgEarth, RoadSurfaceLayer, Options, osgEarth::FeatureImageRTTLayer, RoadSurface);
    };

} } // namespace osgEarth::Procedural

OSGEARTH_SPECIALIZE_CONFIG(osgEarth::Procedural::RoadSurfaceLayer::Options);
