Man page - sdl_releasewindowfromgpudevice(3)

Packages contas this manual

Manual

SDL_ReleaseWindowFromGPUDevice(3) SDL3 FUNCTIONS SDL_ReleaseWindowFromGPUDevice(3)

SDL_ReleaseWindowFromGPUDevice - Unclaims a window, destroying its swapchain structure.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
void SDL_ReleaseWindowFromGPUDevice(
    SDL_GPUDevice *device,
    SDL_Window *window);

a GPU context.
an SDL_Window
that has been claimed.

This function is available since SDL 3.2.0.

(3), SDL_ClaimWindowForGPUDevice(3)

SDL 3.2.10 Simple Directmedia Layer