logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPUTextureLocation - A structure specifying a location in a texture.

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;

See Also