SDL_GPUBufferLocation(3type)

SDL_GPUBufferLocation3type

A structure specifying a location in a buffer.

Usage

#include "SDL3/SDL.h"

typedef struct SDL_GPUBufferLocation { SDL_GPUBuffer *buffer; /**< The buffer. */ Uint32 offset; /**< The starting byte within the buffer. */ } SDL_GPUBufferLocation;

Header file

Defined in SDL3/SDL_gpu.h

Overview

Used when copying data between buffers.

Availability

This struct is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.