DOKK / manpages / debian 13 / libsdl3-doc / SDL_QueryGPUFence.3.en
SDL_QueryGPUFence(3) SDL3 FUNCTIONS SDL_QueryGPUFence(3)

SDL_QueryGPUFence - Checks the status of a fence.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
bool SDL_QueryGPUFence(
    SDL_GPUDevice *device,
    SDL_GPUFence *fence);

a GPU context.
a fence.

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

This function is available since SDL 3.2.0.

(3), SDL_SubmitGPUCommandBufferAndAcquireFence(3)

SDL 3.2.10 Simple Directmedia Layer