Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DEnhancedSync

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new AMD Radeon Enhanced Sync state. Set true to enable AMD Radeon Enhanced Sync. Set false to disable AMD Radeon Enhanced Sync.

Return Value

If the state of AMD Radeon Enhanced Sync is successfully set, ADLX_OK is returned.

If the state of AMD Radeon Enhanced Sync is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

AMD Radeon Enhanced Sync synchronizes the transition to a new frame of animation with the display refresh rate at a low latency, so no tearing is visible between frames.

Does not limit the frame rate at the display’s refresh rate.

Dependent Interfaces

AMD Radeon Enhanced Sync cannot be simultaneously enabled with VSync.

When AMD Radeon Enhanced Sync is enabled, the mutually exclusive features are automatically disabled.

If a mutually exclusive feature is re-enabled, its previous configuration settings are restored.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0

See Also: IADLX3DWaitForVerticalRefresh