IsEnabled
Checks if VSync is enabled on a GPU.
Syntax
ADLX_RESULT IsEnabled (adlx_bool* enabled)
Parameters
-
[out]
enabled adlx_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
Header |
include “I3DSettings.h” |
Minimum version |
1.0 |