sdlGdkSuspendGpu function gpu
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.
\param device a GPU context.
\since This function is available since SDL 3.2.0.
\sa SDL_AddEventWatch
extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendGPU(SDL_GPUDevice *device)
Implementation
void sdlGdkSuspendGpu(Pointer<SdlGpuDevice> device) {
  final sdlGdkSuspendGpuLookupFunction = _libSdl
      .lookupFunction<
        Void Function(Pointer<SdlGpuDevice> device),
        void Function(Pointer<SdlGpuDevice> device)
      >('SDL_GDKSuspendGPU');
  return sdlGdkSuspendGpuLookupFunction(device);
}