sdlGdkSuspendRenderer function render
Call this to suspend Render operations on Xbox after receiving the SDL_EVENT_DID_ENTER_BACKGROUND event.
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.
\param renderer the renderer which should suspend operation.
\since This function is available since SDL 3.6.0.
\sa SDL_AddEventWatch
extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendRenderer(SDL_Renderer *renderer)
Implementation
void sdlGdkSuspendRenderer(Pointer<SdlRenderer> renderer) {
final sdlGdkSuspendRendererLookupFunction = _libSdl
.lookupFunction<
Void Function(Pointer<SdlRenderer> renderer),
void Function(Pointer<SdlRenderer> renderer)
>('SDL_GDKSuspendRenderer');
return sdlGdkSuspendRendererLookupFunction(renderer);
}