SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_GDKSuspendRenderer

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

Header File

Defined in <SDL3/SDL_render.h>

Syntax

void SDL_GDKSuspendRenderer(SDL_Renderer *renderer);

Function Parameters

SDL_Renderer * renderer the renderer which should suspend operation.

Remarks

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.

Version

This function is available since SDL 3.6.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryRender


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.