SDL_QueryGPUFence

Function SDL_QueryGPUFence 

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