Skip to main content

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.

Parameter: device a GPU context. Parameter: fence a fence. Returns: true if the fence is signaled, false if it is not.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_SubmitGPUCommandBufferAndAcquireFence