SDL_QueryGPUFence - Man Page

Checks the status of a fence.

Synopsis

#include <SDL3/SDL_gpu.h>

bool SDL_QueryGPUFence(
    SDL_GPUDevice *device,
    SDL_GPUFence *fence);

Function 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

SDL_SubmitGPUCommandBufferAndAcquireFence(3)

Referenced By

SDL_GPUFence.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS