SDL_GPUTextureTransferInfo - A structure specifying parameters related to transferring data to or from a
Contents
Availability
This struct is available since SDL 3.2.0.
Name
SDL_GPUTextureTransferInfo - A structure specifying parameters related to transferring data to or from a
texture.
See Also
SDL_UploadToGPUTexture(3), SDL_DownloadFromGPUTexture(3) Simple Directmedia Layer SDL 3.2.20 SDL_GPUTextureTransferInfo(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUTextureTransferInfo{SDL_GPUTransferBuffer*transfer_buffer;/**<Thetransferbufferusedinthetransferoperation.*/Uint32offset;/**<Thestartingbyteoftheimagedatainthetransferbuffer.*/Uint32pixels_per_row;/**<Thenumberofpixelsfromonerowtothenext.*/Uint32rows_per_layer;/**<Thenumberofrowsfromonelayer/depth-slicetothenext.*/}SDL_GPUTextureTransferInfo;