SDL_GPUTransferBufferLocation.3type - Man Page

A structure specifying a location in a transfer buffer.

Synopsis

#include <SDL3/SDL_gpu.h>

typedef struct SDL_GPUTransferBufferLocation
{
    SDL_GPUTransferBuffer *transfer_buffer;  /**< The transfer buffer used in the transfer operation. */
    Uint32 offset;                           /**< The starting byte of the buffer data in the transfer buffer. */
} SDL_GPUTransferBufferLocation;

Description

Used when transferring buffer data to or from a transfer buffer.

Availability

This struct is available since SDL 3.2.0.

See Also

SDL_UploadToGPUBuffer(3), SDL_DownloadFromGPUBuffer(3)

Info

SDL 3.2.20 Simple Directmedia Layer SDL3 DATATYPES