mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-26 10:06:42 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -664,13 +664,14 @@ extern SDL_DECLSPEC void SDLCALL SDL_UnregisterApp(void);
|
|||||||
/**
|
/**
|
||||||
* Callback from the application to let the suspend continue.
|
* Callback from the application to let the suspend continue.
|
||||||
*
|
*
|
||||||
* This should be called in response to an `SDL_EVENT_DID_ENTER_BACKGROUND` event,
|
* This should be called in response to an `SDL_EVENT_DID_ENTER_BACKGROUND`
|
||||||
* which can be detected via event watch. However, do NOT call this function
|
* event, which can be detected via event watch. However, do NOT call this
|
||||||
* directly from within an event watch callback. Instead, wait until the app has
|
* function directly from within an event watch callback. Instead, wait until
|
||||||
* suppressed all rendering operations, then call this from the application
|
* the app has suppressed all rendering operations, then call this from the
|
||||||
* render thread.
|
* application render thread.
|
||||||
*
|
*
|
||||||
* When using SDL_Render, this should be called after calling SDL_GDKSuspendRenderer.
|
* When using SDL_Render, this should be called after calling
|
||||||
|
* SDL_GDKSuspendRenderer.
|
||||||
*
|
*
|
||||||
* When using SDL_GPU, this should be called after calling SDL_GDKSuspendGPU.
|
* When using SDL_GPU, this should be called after calling SDL_GDKSuspendGPU.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -3093,7 +3093,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyGPURenderState(SDL_GPURenderState *s
|
|||||||
*
|
*
|
||||||
* This function MUST be called on the application's render thread.
|
* This function MUST be called on the application's render thread.
|
||||||
*
|
*
|
||||||
* \param renderer the renderer which should suspend operation
|
* \param renderer the renderer which should suspend operation.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.6.0.
|
* \since This function is available since SDL 3.6.0.
|
||||||
*
|
*
|
||||||
@@ -3110,7 +3110,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_GDKSuspendRenderer(SDL_Renderer *renderer);
|
|||||||
*
|
*
|
||||||
* This function MUST be called on the application's render thread.
|
* This function MUST be called on the application's render thread.
|
||||||
*
|
*
|
||||||
* \param renderer the renderer which should resume operation
|
* \param renderer the renderer which should resume operation.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.6.0.
|
* \since This function is available since SDL 3.6.0.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user