IsSupported 

Checks if VSync is supported on a GPU.

Syntax 

ADLX_RESULT     IsSupported (adlx_bool* supported)

Parameters 

  1. [out] supported adlx_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 

Header

include “I3DSettings.h”

Minimum version

1.0