Device Profile MatchingRules can be used to override CVARs for specific hardware without writing c++ code.
https://dev.epicgames.com/community/learning/knowledge-base/q3W3/unreal-engine-how-to-override-cvars-for-specific-gpus-using-device-profile-matching-rules