DOKK / manpages / debian 13 / libsdl3-doc / SDL_GPUBufferLocation.3type.en
SDL_GPUBufferLocation(3type) SDL3 DATATYPES SDL_GPUBufferLocation(3type)

SDL_GPUBufferLocation - A structure specifying a location in a buffer.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
typedef struct SDL_GPUBufferLocation
{
    SDL_GPUBuffer *buffer;  /**< The buffer. */
    Uint32 offset;          /**< The starting byte within the buffer. */
} SDL_GPUBufferLocation;

Used when copying data between buffers.

This struct is available since SDL 3.2.0.

(3), SDL_CopyGPUBufferToBuffer(3)

SDL 3.2.10 Simple Directmedia Layer