How to disable tessellation on low settings?

I’m targeting low/mid end PCs and many of my materials have tessellation enabled. But I want players to be able to disable it for performance reasons. I have an idea to use quality switch and just pass zero value to world displacement when it set to low, but I assume it won’t disable tessellation itself and the mesh would still have all excessive geometry

Ok I got it. Tessellation factor isn’t for displacement intensity, it’s for subdivision density. That solves my problem