mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 14:38:24 +02:00
GPU Vulkan: Use dedicated allocation for download buffers (#11298)
This commit is contained in:
@@ -2294,6 +2294,9 @@ extern SDL_DECLSPEC SDL_GPUBuffer *SDLCALL SDL_CreateGPUBuffer(
|
||||
* Creates a transfer buffer to be used when uploading to or downloading from
|
||||
* graphics resources.
|
||||
*
|
||||
* Download buffers can be particularly expensive to create,
|
||||
* so it is good practice to reuse them if data will be downloaded regularly.
|
||||
*
|
||||
* \param device a GPU Context.
|
||||
* \param createinfo a struct describing the state of the transfer buffer to
|
||||
* create.
|
||||
|
||||
Reference in New Issue
Block a user