SetMode

Sets the scaling mode of a display.

Syntax

Copied!

ADLX_RESULT     SetMode(ADLX_SCALE_MODE  mode)

Parameters

  1. [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, Display Scaling Mode is mutually exclusive with Radeon Super Resolution .

When Display Scaling Mode is enabled, the mutually exclusive features are automatically disabled. If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.

If Radeon Super Resolution is enabled when the scaling mode is CENTERED, the scaling mode is automatically set to FULL_PANEL.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0