Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DImageSharpenDesktop

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new Sharpen Desktop state. Set true to enable Sharpen Desktop. Set false to disable Sharpen Desktop.

Return Value

If the state of Sharpen Desktop is successfully set, ADLX_OK is returned.

If the state of Sharpen Desktop is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Sharpen Desktop restores clarity softened by other effects to all the desktop visuals, for both windowed applications and for applications that run in fullscreen exclusive mode.

Dependent Interfaces

Sharpen Desktop requires AMD Radeon™ Image Sharpening.

If AMD Radeon Image Sharpening is not enabled, the sharpening effect will not be applied to either windowed applications or to applications that run in fullscreen exclusive mode. Sharpen Desktop can remain enabled, but specified values will not be considered.

When AMD Radeon Image Sharpening and Sharpen Desktop are enabled, sharpening is applied for windowed applications, and for applications that run in fullscreen exclusive mode.

When AMD Radeon Image Sharpening is enabled, but Sharpen Desktop is disabled, the sharpening is only applied to applications that run in fullscreen exclusive mode.

Requirements

Headerinclude “I3DSettings2.h”
Minimum version1.4

See Also: IADLX3DImageSharpening, ADLX Enums