Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayVSR

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new AMD Virtual Super Resolution state. Set true to enable Virtual Super Resolution. Set false to disable Virtual Super Resolution.

Return Value

If the state of AMD Virtual Super Resolution is successfully set, ADLX_OK is returned.

If the state of AMD Virtual Super Resolution is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Virtual Super Resolution allows applications to render at resolutions higher than the display’s native pixel grid and then scales images down to fit the display, producing higher quality visuals at the expense of performance.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: ADLX Enums