Make render settings in the game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DimitriyPS

I started it a long time ago but I ran into difficulties. I want to finish this. I need help.
I want to make render settings in the game:

This is important. This allows the end user to adapt the performance of the game to their PC.
I can change all these settings in “ProjectSettings”. For example:

ProjectSettings.set_setting("rendering/quality/shadow_atlas/size",1024)

However, this does not always work. It does not always affect the render. I can get to some render settings in a different way. For example:

get_viewport().shadow_atlas_size=1024

However, not all render settings are available this way.

How to solve this problem? How is it generally possible to solve this problem?