Scroll to navigation

SDL_GPUTransferBufferLocation(3type) SDL3 DATATYPES SDL_GPUTransferBufferLocation(3type)

NAME

SDL_GPUTransferBufferLocation - A structure specifying a location in a transfer buffer.

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.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.1.3

SEE ALSO

(3), SDL_UploadToGPUBuffer(3), (3), SDL_DownloadFromGPUBuffer(3)

SDL 3.1.6 Simple Directmedia Layer