SDL_GDKSuspendGPU

Call this to suspend GPU operation on Xbox when you receive the SDL_EVENT_DID_ENTER_BACKGROUND event.

Do NOT call any SDL_GPU functions after calling this function! This must also be called before calling SDL_GDKSuspendComplete.

version(SDL_PLATFORM_GDK)
extern (C) nothrow @nogc extern
void
SDL_GDKSuspendGPU

Parameters

device SDL_GPUDevice*

a GPU context.

See Also

SDL_AddEventWatch

Meta