Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_ReleaseWindowFromGPUDevice - Unclaims a window, destroying its swapchain structure.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

device a GPU context.

       window an SDL_Window that has been claimed.

Name

       SDL_ReleaseWindowFromGPUDevice - Unclaims a window, destroying its swapchain structure.

See Also

SDL_ClaimWindowForGPUDevice(3)

Simple Directmedia Layer                           SDL 3.2.20                  SDL_ReleaseWindowFromGPUDevice(3)

Synopsis

#include<SDL3/SDL_gpu.h>voidSDL_ReleaseWindowFromGPUDevice(SDL_GPUDevice*device,SDL_Window*window);

See Also