SDL_DownloadFromGPUBuffer - Copies data from a buffer to a transfer buffer on the GPU timeline.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_DownloadFromGPUBuffer(3)
Description
This data is not guaranteed to be copied until the command buffer fence is signaled.
Function Parameters
copy_pass
a copy pass handle.
source the source buffer with offset and size.
destination
the destination transfer buffer with offset.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_DownloadFromGPUBuffer - Copies data from a buffer to a transfer buffer on the GPU timeline.
Synopsis
#include"SDL3/SDL.h"voidSDL_DownloadFromGPUBuffer(SDL_GPUCopyPass*copy_pass,constSDL_GPUBufferRegion*source,constSDL_GPUTransferBufferLocation*destination);
