Function SDL_DownloadFromGPUTexture
pub unsafe extern "C" fn SDL_DownloadFromGPUTexture(
copy_pass: *mut SDL_GPUCopyPass,
source: *const SDL_GPUTextureRegion,
destination: *const SDL_GPUTextureTransferInfo,
)
Available on crate feature
dep_sdl3
only.Expand description
Copies data from a texture 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 texture region.destination
: the destination transfer buffer with image layout information.
§Availability
This function is available since SDL 3.2.0.