SDL_Texture - An efficient driver-specific representation of pixel data
Contents
Availability
This struct is available since SDL 3.2.0.
Name
SDL_Texture - An efficient driver-specific representation of pixel data
See Also
SDL_CreateTexture(3), SDL_CreateTextureFromSurface(3), SDL_CreateTextureWithProperties(3), SDL_DestroyTexture(3) Simple Directmedia Layer SDL 3.2.20 SDL_Texture(3type)
Synopsis
#include<SDL3/SDL_render.h>structSDL_Texture{SDL_PixelFormatformat;/**<Theformatofthetexture,read-only*/intw;/**<Thewidthofthetexture,read-only.*/inth;/**<Theheightofthetexture,read-only.*/intrefcount;/**<Applicationreferencecount,usedwhenfreeingtexture*/};