SDL_GetRenderVSync

Get VSync of the given renderer.

extern (C) nothrow @nogc extern
bool
SDL_GetRenderVSync

Parameters

renderer SDL_Renderer*

The renderer to toggle.

vsync int*

An int filled with the current vertical refresh sync interval. See SDL_SetRenderVSync 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