waitForSwapchain method
Blocks the thread until all presenting command buffers are finished executing.
\param device a GPU context. \param window a window that has been claimed. \returns 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.
\since This function is available since SDL 3.2.0.
\sa SDL_AcquireGPUSwapchainTexture \sa SDL_WaitAndAcquireGPUSwapchainTexture \sa SDL_SetGPUAllowedFramesInFlight
extern SDL_DECLSPEC bool SDLCALL SDL_WaitForGPUSwapchain( SDL_GPUDevice *device, SDL_Window *window)
See also:
Implementation
bool waitForSwapchain(Pointer<SdlWindow> window) =>
sdlWaitForGpuSwapchain(this, window);