pub unsafe extern "C" fn SDL_DownloadFromGPUBuffer(
copy_pass: *mut SDL_GPUCopyPass,
source: *const SDL_GPUBufferRegion,
destination: *const SDL_GPUTransferBufferLocation,
)Expand description
Copies data from a buffer to a transfer buffer on the GPU timeline.
This data is not guaranteed to be copied until the command buffer fence is signaled.
§Parameters
copy_pass: a copy pass handle.source: the source buffer with offset and size.destination: the destination transfer buffer with offset.
§Availability
This function is available since SDL 3.2.0.