Scroll to navigation

SDL_GDKSuspendRenderer(3) SDL3 FUNCTIONS SDL_GDKSuspendRenderer(3)

NAME

SDL_GDKSuspendRenderer - Call this to suspend Render operations on Xbox after receiving the SDL_EVENT_DID_ENTER_BACKGROUND event.

SYNOPSIS

#include <SDL3/SDL_render.h>
void SDL_GDKSuspendRenderer(SDL_Renderer *renderer);

DESCRIPTION

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

This function MUST be called on the application's render thread.

FUNCTION PARAMETERS

the renderer which should suspend operation.

AVAILABILITY

This function is available since SDL 3.6.0.

SEE ALSO

SDL_AddEventWatch(3)

SDL 3.5.0 Simple Directmedia Layer