mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
docs(gpu): document depth texture limitation in SDL_CopyGPUTextureToTexture (#14693)
This commit is contained in:
parent
bd35a1c8e5
commit
00fe482efb
1 changed files with 3 additions and 0 deletions
|
|
@ -3903,6 +3903,9 @@ extern SDL_DECLSPEC void SDLCALL SDL_UploadToGPUBuffer(
|
|||
* This copy occurs on the GPU timeline. You may assume the copy has finished
|
||||
* in subsequent commands.
|
||||
*
|
||||
* This function does not support copying between depth and color textures. For
|
||||
* those, copy the texture to a buffer and then to the destination texture.
|
||||
*
|
||||
* \param copy_pass a copy pass handle.
|
||||
* \param source a source texture region.
|
||||
* \param destination a destination texture region.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue