SDL_ReleaseGPUFence

Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.

Header File

Defined in <SDL3/SDL_gpu.h>

Syntax

void SDL_ReleaseGPUFence(
    SDL_GPUDevice *device,
    SDL_GPUFence *fence);

Function Parameters

SDL_GPUDevice * device a GPU context.
SDL_GPUFence * fence a fence.

Remarks

You must not reference the fence after calling this function.

Version

This function is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryGPU