Skip to content

IsSupported

Navigation: ADLX SDK ReferencesADLX Interfaces3D GraphicsIADLX3DWaitForVerticalRefresh

Syntax

ADLX_RESULT    IsSupported (adlx_bool* supported)

Parameters

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

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.

Requirements

Headerinclude “I3DSettings.h”
Minimum version1.0