SDL_GPUTextureLocation - A structure specifying a location in a texture.
Contents
Availability
This struct is available since SDL 3.2.0.
Description
Used when copying data from one texture to another.
Name
SDL_GPUTextureLocation - A structure specifying a location in a texture.
See Also
SDL_CopyGPUTextureToTexture(3) Simple Directmedia Layer SDL 3.2.20 SDL_GPUTextureLocation(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUTextureLocation{SDL_GPUTexture*texture;/**<Thetextureusedinthecopyoperation.*/Uint32mip_level;/**<Themiplevelindexofthelocation.*/Uint32layer;/**<Thelayerindexofthelocation.*/Uint32x;/**<Theleftoffsetofthelocation.*/Uint32y;/**<Thetopoffsetofthelocation.*/Uint32z;/**<Thefrontoffsetofthelocation.*/}SDL_GPUTextureLocation;