logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPUTextureTransferInfo - A structure specifying parameters related to transferring data to or from a

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;

See Also