A structure specifying a location in a texture.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUTextureLocation
{/**< The texture used in the copy operation. */
SDL_GPUTexture *texture; /**< The mip level index of the location. */
Uint32 mip_level; /**< The layer index of the location. */
Uint32 layer; /**< The left offset of the location. */
Uint32 x; /**< The top offset of the location. */
Uint32 y; /**< The front offset of the location. */
Uint32 z; } SDL_GPUTextureLocation;
Used when copying data from one texture to another.
This struct is available since SDL 3.1.3