logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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