How to create Landscape Layer Info automatically?

Hi there. I want to create a Landscape Material, which creates Layers automatically.

For example I have a Grass Layer and the Soild underneath it will be visible on slopes.
With the Slope Mask however, no Layer Info’s are created.
The Layer Infos are important to me, because they have Physical Materials Applied.
Which nodes can I use to create Layer infos, but drive them automatically for example through slopes?

The MF_Layer_ functions return MateralAttributes