SDL_GDKResumeGPU - Man Page

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

Synopsis

#include <SDL3/SDL_gpu.h>

void SDL_GDKResumeGPU(SDL_GPUDevice *device);

Description

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

Function Parameters

device

a GPU context.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_AddEventWatch(3)

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS