SetMode
Sets the scaling mode of a display.
Syntax
ADLX_RESULT SetMode(ADLX_SCALE_MODE mode)
Parameters
-
[in]
mode ADLX_SCALE_MODE The new scaling mode.0
Return Value
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.
Additional Info
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.
Requirements
Header |
include “IDisplaySettings.h” |
Minimum version |
1.0 |