SDL_DownloadFromGPUTexture

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.

extern (C) nothrow @nogc extern
void
SDL_DownloadFromGPUTexture

Parameters

copy_pass SDL_GPUCopyPass*

a copy pass handle.

source const(SDL_GPUTextureRegion)*

the source texture region.

destination const(SDL_GPUTextureTransferInfo)*

the destination transfer buffer with image layout information.

Meta