SDL_WaitForGPUIdle3
Blocks the thread until the gpu is completely idle.
Usage
#include "SDL3/SDL.h"
bool SDL_WaitForGPUIdle( SDL_GPUDevice *device);
Header file
Defined in SDL3/SDL_gpu.h
Function parameters
- device
-
a GPU context.
Return value
Returns true on success, false on failure; call
SDL_GetError () for more information.