SDL_GPUTextureLocation(3type)

SDL_GPUTextureLocation3type

A structure specifying a location in a texture.

Usage

#include "SDL3/SDL.h"

typedef struct SDL_GPUTextureLocation { SDL_GPUTexture *texture; /**< The texture used in the copy operation. */ Uint32 mip_level; /**< The mip level index of the location. */ Uint32 layer; /**< The layer index of the location. */ Uint32 x; /**< The left offset of the location. */ Uint32 y; /**< The top offset of the location. */ Uint32 z; /**< The front offset of the location. */ } SDL_GPUTextureLocation;

Header file

Defined in SDL3/SDL_gpu.h

Overview

Used when copying data from one texture to another.

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.