pub unsafe extern "C" fn SDL_WaitForGPUFences(
device: *mut SDL_GPUDevice,
wait_all: bool,
fences: *const *mut SDL_GPUFence,
num_fences: Uint32,
) -> boolExpand description
Blocks the thread until the given fences are signaled.
§Parameters
device: a GPU context.wait_all: if 0, wait for any fence to be signaled, if 1, wait for all fences to be signaled.fences: an array of fences to wait on.num_fences: the number of fences in the fences array.
§Return value
Returns true on success, false on failure; call SDL_GetError() for more
information.
§Availability
This function is available since SDL 3.2.0.