A structure specifying parameters related to transferring data to or from a texture.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUTextureTransferInfo
{/**< The transfer buffer used in the transfer operation. */
SDL_GPUTransferBuffer *transfer_buffer; /**< The starting byte of the image data in the transfer buffer. */
Uint32 offset; /**< The number of pixels from one row to the next. */
Uint32 pixels_per_row; /**< The number of rows from one layer/depth-slice to the next. */
Uint32 rows_per_layer; } SDL_GPUTextureTransferInfo;
This struct is available since SDL 3.1.3