Function SDL_WaitForGPUIdle

pub unsafe extern "C" fn SDL_WaitForGPUIdle(
    device: *mut SDL_GPUDevice,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Blocks the thread until the GPU is completely idle.

§Parameters

  • device: a GPU context.

§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.

§See also