SDL_GetWindowSurfaceVSync

Get VSync for the window surface.

extern (C) nothrow @nogc extern
bool
SDL_GetWindowSurfaceVSync

Parameters

window SDL_Window*

the window to query.

vsync int*

an int filled with the current vertical refresh sync interval. See SDL_SetWindowSurfaceVSync() for the meaning of the value.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta