SDL_GPUBufferRegion - A structure specifying a region of a buffer.
Contents
Availability
This struct is available since SDL 3.2.0.
Description
Used when transferring data to or from buffers.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_GPUBufferRegion - A structure specifying a region of a buffer.
See Also
•(3), SDL_UploadToGPUBuffer(3), •(3), SDL_DownloadFromGPUBuffer(3) Simple Directmedia Layer SDL 3.2.10 SDL_GPUBufferRegion(3type)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_GPUBufferRegion{SDL_GPUBuffer*buffer;/**<Thebuffer.*/Uint32offset;/**<Thestartingbytewithinthebuffer.*/Uint32size;/**<Thesizeinbytesoftheregion.*/}SDL_GPUBufferRegion;