Function SDL_ReleaseWindowFromGPUDevice

pub unsafe extern "C" fn SDL_ReleaseWindowFromGPUDevice(
    device: *mut SDL_GPUDevice,
    window: *mut SDL_Window,
)
Available on crate feature dep_sdl3 only.
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