SDL_GPUBufferRegion(3type)

SDL_GPUBufferRegion3type

A structure specifying a region of a buffer.

Usage

#include "SDL3/SDL.h"

typedef struct SDL_GPUBufferRegion { SDL_GPUBuffer *buffer; /**< The buffer. */ Uint32 offset; /**< The starting byte within the buffer. */ Uint32 size; /**< The size in bytes of the region. */ } SDL_GPUBufferRegion;

Header file

Defined in SDL3/SDL_gpu.h

Overview

Used when transferring data to or from 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.