An efficient driver-specific representation of pixel data
Defined in <SDL3/SDL_render.h>
struct SDL_Texture
{/**< The format of the texture, read-only */
SDL_PixelFormat format; int w; /**< The width of the texture, read-only. */
int h; /**< The height of the texture, read-only. */
int refcount; /**< Application reference count, used when freeing texture */
};
This struct is available since SDL 3.1.3.