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_Texture - An efficient driver-specific representation of pixel data

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*/};

See Also