SetEnabled

Sets AMD Radeon™ Enhanced Sync to enabled or disabled state on a GPU.

Syntax

Copied!

ADLX_RESULT     SetEnabled (adlx_bool enable)

Parameters

  1. [in] enable adlx_bool The 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.

Note : AMD Radeon Enhanced Sync configuration affects the state of VSync.

If AMD Radeon Enhanced Sync is enabled, VSync is automatically disabled.

If AMD Radeon Enhanced Sync is disabled, VSync is automatically enabled.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0