Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_QueryGPUFence - Checks the status of a fence.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

device a GPU context.

       fence  a fence.

Name

       SDL_QueryGPUFence - Checks the status of a fence.

Return Value

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

See Also

SDL_SubmitGPUCommandBufferAndAcquireFence(3)

Simple Directmedia Layer                           SDL 3.2.20                               SDL_QueryGPUFence(3)

Synopsis

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

See Also