SDL_QueryGPUFence - Man Page

Checks the status of a fence.

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#include "SDL3/SDL.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

·(3), SDL_SubmitGPUCommandBufferAndAcquireFence(3)

Referenced By

SDL_GPUFence.3type(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS