Function SDL_QueryGPUFence

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

Checks the status of a fence.

§Parameters

  • device: a GPU context.
  • fence: a fence.

§Return value

Returns true if the fence is signaled, false if it is not.

§Availability

This function is available since SDL 3.2.0.

§See also