table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.24+ds-1
- unstable 3.2.26+ds-1
- experimental 3.3.2+git20251029~d9ca045+ds-1
| SDL_GPUTextureTransferInfo(3type) | SDL3 DATATYPES | SDL_GPUTextureTransferInfo(3type) |
NAME¶
SDL_GPUTextureTransferInfo - A structure specifying parameters related to transferring data to or from a texture.
SYNOPSIS¶
#include <SDL3/SDL_gpu.h>
typedef struct SDL_GPUTextureTransferInfo
{
SDL_GPUTransferBuffer *transfer_buffer; /**< The transfer buffer used in the transfer operation. */
Uint32 offset; /**< The starting byte of the image data in the transfer buffer. */
Uint32 pixels_per_row; /**< The number of pixels from one row to the next. */
Uint32 rows_per_layer; /**< The number of rows from one layer/depth-slice to the next. */
} SDL_GPUTextureTransferInfo;
AVAILABILITY¶
This struct is available since SDL 3.2.0.
SEE ALSO¶
| SDL 3.2.26 | Simple Directmedia Layer |