SDL_WaitForGPUFences

Blocks the thread until the given fences are signaled.

extern (C) nothrow @nogc extern
bool
SDL_WaitForGPUFences

Parameters

device SDL_GPUDevice*

a GPU context.

wait_all bool

if 0, wait for any fence to be signaled, if 1, wait for all fences to be signaled.

fences const(SDL_GPUFence*)*

an array of fences to wait on.

num_fences Uint32

the number of fences in the fences array.

Return Value

Type: bool

true on success, false on failure; call SDL_GetError() for more information.

See Also

Meta