SDL_WaitForGPUIdle

Function SDL_WaitForGPUIdle 

Source
pub unsafe extern "C" fn SDL_WaitForGPUIdle(
    device: *mut SDL_GPUDevice,
) -> bool
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