sdlReleaseWindowFromGpuDevice function gpu
Unclaims a window, destroying its swapchain structure.
\param device a GPU context. \param window an SDL_Window that has been claimed.
\since This function is available since SDL 3.2.0.
\sa SDL_ClaimWindowForGPUDevice
extern SDL_DECLSPEC void SDLCALL SDL_ReleaseWindowFromGPUDevice( SDL_GPUDevice *device, SDL_Window *window)
Implementation
void sdlReleaseWindowFromGpuDevice(
Pointer<SdlGpuDevice> device,
Pointer<SdlWindow> window,
) {
final sdlReleaseWindowFromGpuDeviceLookupFunction = _libSdl
.lookupFunction<
Void Function(Pointer<SdlGpuDevice> device, Pointer<SdlWindow> window),
void Function(Pointer<SdlGpuDevice> device, Pointer<SdlWindow> window)
>('SDL_ReleaseWindowFromGPUDevice');
return sdlReleaseWindowFromGpuDeviceLookupFunction(device, window);
}