Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayIntegerScaling

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new Integer Display Scaling state. Set true to enable Integer Display Scaling. Set false to disable Integer Display Scaling.

Return Value

If the state of Integer Display Scaling is successfully set, ADLX_OK is returned.

If the state of Integer Display Scaling is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Integer Display Scaling gives a sharp, pixelated look to images scaled up to fit the display. Images that can’t be scaled to match the display’s exact size and shape will be centered on screen. Integer Display Scaling enhances visuals in old games to revive vintage gaming experiences on a modern display.

Dependent Interfaces

On some AMD GPUs, Integer Display Scaling cannot be simultaneously enabled with Radeon Super Resolution.

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

Integer Display Scaling is not supported when GPU Scaling is disabled.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: IADLX3DRadeonSuperResolution, IADLXDisplayGPUScaling, ADLX Enums