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_GPUBufferRegion - A structure specifying a region of a buffer.

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;

See Also