sdlReleaseGpuFence function
Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.
\param device a GPU context. \param fence a fence.
\since This function is available since SDL 3.1.3.
\sa SDL_SubmitGPUCommandBufferAndAcquireFence
extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUFence( SDL_GPUDevice *device, SDL_GPUFence *fence)
Implementation
void sdlReleaseGpuFence(
Pointer<SdlGpuDevice> device, Pointer<SdlGpuFence> fence) {
final sdlReleaseGpuFenceLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlGpuDevice> device, Pointer<SdlGpuFence> fence),
void Function(Pointer<SdlGpuDevice> device,
Pointer<SdlGpuFence> fence)>('SDL_ReleaseGPUFence');
return sdlReleaseGpuFenceLookupFunction(device, fence);
}