SDL_WaitForGPUSwapchain

Blocks the thread until a swapchain texture is available to be acquired.

extern (C) nothrow @nogc extern
bool
SDL_WaitForGPUSwapchain

Parameters

device SDL_GPUDevice*

a GPU context.

window SDL_Window*

a window that has been claimed.

Return Value

Type: bool

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

Threadsafety: This function should only be called from the thread that created the window.

See Also

Meta