Scroll to navigation

SDL_ReleaseGPUFence(3) SDL3 FUNCTIONS SDL_ReleaseGPUFence(3)

NAME

SDL_ReleaseGPUFence - 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

a GPU context.
a fence.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

SDL_SubmitGPUCommandBufferAndAcquireFence(3)

SDL 3.2.14 Simple Directmedia Layer