SDL_GPUTexture(3type)

✨ SDL_GPUTexture ✨

okay bestie, welcome to the SDL3 DATATYPES corner of the manual, where we talk about SDL_GPUTexture πŸ’–

πŸ’… NAME πŸ’…

SDL_GPUTexture β€” an opaque handle representing a texture.

like, it's a texture, but you don't get to peek inside. it's opaque, babe. mind your business. πŸ™ˆ


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_gpu.h>

typedef struct SDL_GPUTexture SDL_GPUTexture;

so you just pull in the header and boom, the type exists. it's a struct, it's opaque, it's giving mystery ✨


πŸ¦‹ AVAILABILITY πŸ¦‹

this struct is available since SDL 3.2.0. so if you're on something older… no it's not. upgrade, bestie. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, fr fr β€” go read these too:


and that's the whole page, no cap. made by Simple Directmedia Layer, version SDL 3.4.18, filed under SDL_GPUTexture(3type). mwah πŸ’‹ stay hydrated, go create a texture πŸŽ€βœ¨
πŸ“¦ where this page comes from