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.

§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