Follow these steps if your machine is using two graphics cards:
Step 1: Press start and search for "Graphics Settings".
Step 2: In the Graphics Control Panel or Graphics Settings select Microsoft Store App from dropdown and then click on "Add" or "Browse" to add the UWP app that you want to set to high graphics performance.
Step 3: Once you've added the UWP app, select it from the list and click on "Options" or "Preferences" to configure the graphics settings for the app.
Step 4: In the graphics settings for the app, look for an option called "Preferred Graphics Processor" or "Graphics Performance Preference" and select "High Performance" or "Dedicated Graphics Card" from the drop-down menu.
Step 5: Save the changes and launch the UWP app. It should now run with high graphics performance using your dedicated graphics card.
Note: If you don't see the option to select the preferred graphics processor in your graphics settings, you may need to update your graphics drivers or check if your system supports switchable graphics. Also, keep in mind that running the UWP app on high graphics performance may consume more power and reduce battery life on laptops and mobile devices.