Skip to main content

SDL_ReleaseWindowFromGPUDevice

Function SDL_ReleaseWindowFromGPUDevice 

Source
pub unsafe extern "C" fn SDL_ReleaseWindowFromGPUDevice(
    device: *mut SDL_GPUDevice,
    window: *mut SDL_Window,
)
Expand description

Unclaims a window, destroying its swapchain structure.

Parameter: device a GPU context. Parameter: window an SDL_Window that has been claimed.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_ClaimWindowForGPUDevice