SDL_ReleaseWindowFromGPUDevice - Man Page

Unclaims a window, destroying its swapchain structure.

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#include "SDL3/SDL.h"

void SDL_ReleaseWindowFromGPUDevice(
    SDL_GPUDevice *device,
    SDL_Window *window);

Function Parameters

device

a GPU context.

window

an SDL_Window
that has been claimed.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_ClaimWindowForGPUDevice(3)

Referenced By

SDL_ClaimWindowForGPUDevice(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS