SDL_DownloadFromGPUBuffer

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.

extern (C) nothrow @nogc extern
void
SDL_DownloadFromGPUBuffer

Parameters

copy_pass SDL_GPUCopyPass*

a copy pass handle.

source const(SDL_GPUBufferRegion)*

the source buffer with offset and size.

destination const(SDL_GPUTransferBufferLocation)*

the destination transfer buffer with offset.

Meta