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.
Dependent Interfaces
On some AMD GPUs, CENTERED Display Scaling Mode cannot be simultaneously enabled with Radeon Super Resolution .
When CENTERED scaling mode is set, the mutually exclusive features are automatically disabled.
Requirements
Header |
include “IDisplaySettings.h” |
Minimum version |
1.0 |