Skip to content

IsEnabled

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DWaitForVerticalRefresh

Syntax

ADLX_RESULT    IsEnabled (adlx_bool* enabled)

Parameters

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

Return Value

If the state of VSync is successfully returned, ADLX_OK is returned.

If the state of VSync is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

VSync synchronizes the transition to a new frame of animation with the display update so no tearing is visible between frames.

Limits the frame rate at the display’s refresh rate.

Dependent Interfaces

VSync cannot be simultaneously enabled with AMD Radeon™ Enhanced Sync.

When a mutually exclusive feature is enabled, VSync is automatically disabled.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0

See Also: IADLX3DEnhancedSync