TTF_GPUAtlasDrawSequence.3type - Man Page
Draw sequence returned by TTF_GetGPUTextDrawData
Header File
Defined in SDL3_ttf/SDL_ttf.h
Synopsis
#include "SDL3_ttf/SDL_ttf.h" typedef struct TTF_GPUAtlasDrawSequence { SDL_GPUTexture *atlas_texture; /**< Texture atlas that stores the glyphs */ SDL_FPoint *xy; /**< An array of vertex positions */ SDL_FPoint *uv; /**< An array of normalized texture coordinates for each vertex */ int num_vertices; /**< Number of vertices */ int *indices; /**< An array of indices into the 'vertices' arrays */ int num_indices; /**< Number of indices */ TTF_ImageType image_type; /**< The image type of this draw sequence */ struct TTF_GPUAtlasDrawSequence *next; /**< The next sequence (will be NULL in case of the last sequence) */ } TTF_GPUAtlasDrawSequence;
Availability
This struct is available since SDL_ttf 3.0.0.
See Also
Info
SDL_ttf 3.2.2 SDL_ttf3 DATATYPES