Skip to main content

SDL_GDKResumeGPU

Function SDL_GDKResumeGPU 

Source
pub unsafe extern "C" fn SDL_GDKResumeGPU(device: *mut SDL_GPUDevice)
Expand description

Call this to resume GPU operation on Xbox when you receive the SDL_EVENT_WILL_ENTER_FOREGROUND event.

When resuming, this function MUST be called before calling any other SDL_GPU functions.

§Parameters

  • device: a GPU context.

§Availability

This function is available since SDL 3.2.0.

§See also