| SDL_DownloadFromGPUTexture(3) | SDL3 FUNCTIONS | SDL_DownloadFromGPUTexture(3) |
SDL_DownloadFromGPUTexture - Copies data from a texture to a transfer buffer on the GPU timeline.
Defined in SDL3/SDL_gpu.h
#include "SDL3/SDL.h"
void SDL_DownloadFromGPUTexture(
SDL_GPUCopyPass *copy_pass,
const SDL_GPUTextureRegion *source,
const SDL_GPUTextureTransferInfo *destination);
This data is not guaranteed to be copied until the command buffer fence is signaled.
This function is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |