SDL_ReleaseGPUFence - Man Page

Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.

Synopsis

#include <SDL3/SDL_gpu.h>

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

Description

You must not reference the fence after calling this function.

Function Parameters

device

a GPU context.

fence

a fence.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_SubmitGPUCommandBufferAndAcquireFence(3)

Referenced By

SDL_GPUFence.3type(3), SDL_SubmitGPUCommandBufferAndAcquireFence(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS