r.grow.distance Generates a raster layer of distance to features in input layer. Raster (r.*) QgsProcessingParameterRasterLayer|input|Input input raster layer|None|False QgsProcessingParameterEnum|metric|Metric|euclidean;squared;maximum;manhattan QgsProcessingParameterRasterDestination|distance|Distance QgsProcessingParameterRasterDestination|value|Value of nearest cell