Skip to content

SetMode

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayScalingMode

Syntax

ADLX_RESULT    SetMode(ADLX_SCALE_MODE mode)

Parameters

#DirectionNameTypeDescription
1.[in]modeADLX_SCALE_MODEThe 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

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: IADLX3DRadeonSuperResolution, ADLX Enums