Blocks the thread until the GPU is completely idle.
Defined in <SDL3/SDL_gpu.h>
bool SDL_WaitForGPUIdle(
SDL_GPUDevice *device);
SDL_GPUDevice * | device | a GPU context. |
(bool) Returns true on success, false on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.