mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
parent
7911975414
commit
8c0add4351
1 changed files with 8 additions and 6 deletions
|
|
@ -4232,12 +4232,13 @@ extern SDL_DECLSPEC SDL_GPUTextureFormat SDLCALL SDL_GetGPUSwapchainTextureForma
|
|||
* submitted. The swapchain texture should only be referenced by the command
|
||||
* buffer used to acquire it.
|
||||
*
|
||||
* If too many frames are in flight, this function will fill the swapchain texture handle
|
||||
* with NULL and return true. This is not an error. This NULL pointer should not be
|
||||
* passed back into SDL. Instead, it should be considered as an indication to
|
||||
* wait.
|
||||
* If too many frames are in flight, this function will fill the swapchain
|
||||
* texture handle with NULL and return true. This is not an error. This NULL
|
||||
* pointer should not be passed back into SDL. Instead, it should be
|
||||
* considered as an indication to wait.
|
||||
*
|
||||
* In VSYNC present mode (which is the default) this function may block on vblank.
|
||||
* In VSYNC present mode (which is the default) this function may block on
|
||||
* vblank.
|
||||
*
|
||||
* If you use this function, it is possible to create a situation where many
|
||||
* command buffers are allocated while the rendering context waits for the GPU
|
||||
|
|
@ -4282,7 +4283,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_AcquireGPUSwapchainTexture(
|
|||
Uint32 *swapchain_texture_height);
|
||||
|
||||
/**
|
||||
* Blocks the thread until all presenting command buffers are finished executing.
|
||||
* Blocks the thread until all presenting command buffers are finished
|
||||
* executing.
|
||||
*
|
||||
* \param device a GPU context.
|
||||
* \param window a window that has been claimed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue