SDL_GPUTransferBufferLocation - A structure specifying a location in a transfer buffer.
Contents
Availability
This struct is available since SDL 3.2.0.
Description
Used when transferring buffer data to or from a transfer buffer.
Name
SDL_GPUTransferBufferLocation - A structure specifying a location in a transfer buffer.
See Also
SDL_UploadToGPUBuffer(3), SDL_DownloadFromGPUBuffer(3) Simple Directmedia Layer SDL 3.2.20 SDL_GPUTransferBufferLocation(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUTransferBufferLocation{SDL_GPUTransferBuffer*transfer_buffer;/**<Thetransferbufferusedinthetransferoperation.*/Uint32offset;/**<Thestartingbyteofthebufferdatainthetransferbuffer.*/}SDL_GPUTransferBufferLocation;