Scroll to navigation

SDL_QueryGPUFence(3) SDL3 FUNCTIONS SDL_QueryGPUFence(3)

NAME

SDL_QueryGPUFence - Checks the status of a fence.

SYNOPSIS

#include <SDL3/SDL_gpu.h>
bool SDL_QueryGPUFence(
    SDL_GPUDevice *device,
    SDL_GPUFence *fence);

FUNCTION PARAMETERS

a GPU context.
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)

SDL 3.2.14 Simple Directmedia Layer