logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ReleaseGPUFence - Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.

Availability

       This function is available since SDL 3.2.0.

Description

       You must not reference the fence after calling this function.

Function Parameters

device a GPU context.

       fence  a fence.

Name

       SDL_ReleaseGPUFence - Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.

See Also

SDL_SubmitGPUCommandBufferAndAcquireFence(3)

Simple Directmedia Layer                           SDL 3.2.20                             SDL_ReleaseGPUFence(3)

Synopsis

#include<SDL3/SDL_gpu.h>voidSDL_ReleaseGPUFence(SDL_GPUDevice*device,SDL_GPUFence*fence);

See Also