Function in ldk_os.h

ldk_os_graphics_vsync_get

Query the currently configured vertical synchronization setting.

LDK_API i32 ldk_os_graphics_vsync_get(void);

Returns

The resulting integer value.

Function in ldk_os.h

ldk_os_graphics_vsync_set

Set the OS graphics vsync.

LDK_API bool ldk_os_graphics_vsync_set(bool vsync);

Parameters

bool vsync
Vsync used by this operation.

Returns

True if the operation succeeds; false otherwise.