Skip to content

IsEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayIntegerScaling

Syntax

ADLX_RESULT    IsEnabled (adlx_bool* enabled)

Parameters

#DirectionNameTypeDescription
1.[out]enabledadlx_bool*The pointer to a variable where the state of Integer Display Scaling is returned. The variable is true if Integer Display Scaling is enabled. The variable is false if Integer Display Scaling is not enabled.

Return Value

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

If the state of Integer Display Scaling is not successfully returned, 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