Sets the scaling mode of a display.
ADLX_RESULT SetMode(ADLX_SCALE_MODE mode)
[in]mode ADLX_SCALE_MODE The new scaling mode.0
If the scaling mode is successfully set, ADLX_OK is returned.
If the scaling mode is not successfully set, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
GPU scaling determines the method used to stretch and position images to fit the display.
Note: On some AMD GPUs, center scaling and Radeon Super Resolution cannot be enabled simultaneously. If the scaling mode is set to CENTERED, Radeon Super Resolution is automatically disabled.