Provided by: libsdl3-doc_3.2.8+ds-1_all bug

NAME

       SDL_DownloadFromGPUTexture - Copies data from a texture to a transfer buffer on the GPU timeline.

HEADER FILE

       Defined in SDL3/SDL_gpu.h

SYNOPSIS

       #include "SDL3/SDL.h"

       void SDL_DownloadFromGPUTexture(
           SDL_GPUCopyPass *copy_pass,
           const SDL_GPUTextureRegion *source,
           const SDL_GPUTextureTransferInfo *destination);

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 texture region.

       destination
              the destination transfer buffer with image layout information.

AVAILABILITY

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                            SDL 3.2.8                      SDL_DownloadFromGPUTexture(3)