SDL_DownloadFromGPUBuffer(3)

SDL_DownloadFromGPUBuffer3

Copies data from a buffer to a transfer buffer on the gpu timeline.

Usage

#include "SDL3/SDL.h"

void SDL_DownloadFromGPUBuffer( SDL_GPUCopyPass *copy_pass, const SDL_GPUBufferRegion *source, const SDL_GPUTransferBufferLocation *destination);

Header file

Defined in SDL3/SDL_gpu.h

Overview

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.