Provided by: libsdl3-doc_3.2.8+ds-1_all bug

NAME

       SDL_GPUTextureLocation - A structure specifying a location in a texture.

HEADER FILE

       Defined in SDL3/SDL_gpu.h

SYNOPSIS

       #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;

DESCRIPTION

       Used when copying data from one texture to another.

AVAILABILITY

       This struct is available since SDL 3.2.0.

SEE ALSO

       (3), SDL_CopyGPUTextureToTexture(3)

Simple Directmedia Layer                            SDL 3.2.8                      SDL_GPUTextureLocation(3type)