###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_GPUTexture An opaque handle representing a texture. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_gpu.h) ## Syntax ```c typedef struct SDL_GPUTexture SDL_GPUTexture; ``` ## Version This struct is available since SDL 3.1.3 ## See Also - [SDL_CreateGPUTexture](SDL_CreateGPUTexture) - [SDL_SetGPUTextureName](SDL_SetGPUTextureName) - [SDL_UploadToGPUTexture](SDL_UploadToGPUTexture) - [SDL_DownloadFromGPUTexture](SDL_DownloadFromGPUTexture) - [SDL_CopyGPUTextureToTexture](SDL_CopyGPUTextureToTexture) - [SDL_BindGPUVertexSamplers](SDL_BindGPUVertexSamplers) - [SDL_BindGPUVertexStorageTextures](SDL_BindGPUVertexStorageTextures) - [SDL_BindGPUFragmentSamplers](SDL_BindGPUFragmentSamplers) - [SDL_BindGPUFragmentStorageTextures](SDL_BindGPUFragmentStorageTextures) - [SDL_BindGPUComputeStorageTextures](SDL_BindGPUComputeStorageTextures) - [SDL_GenerateMipmapsForGPUTexture](SDL_GenerateMipmapsForGPUTexture) - [SDL_BlitGPUTexture](SDL_BlitGPUTexture) - [SDL_ReleaseGPUTexture](SDL_ReleaseGPUTexture) ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryGPU](CategoryGPU)