Scroll to navigation

SDL_ReleaseWindowFromGPUDevice(3) SDL3 FUNCTIONS SDL_ReleaseWindowFromGPUDevice(3)

NAME

SDL_ReleaseWindowFromGPUDevice - 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

a GPU context.
an SDL_Window
that has been claimed.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_ClaimWindowForGPUDevice(3)

SDL 3.1.6 Simple Directmedia Layer