TTF_GPUAtlasDrawSequence3type
Draw sequence returned by ttf_getgputextdrawdata
Usage
#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;
Header file
Defined in SDL3_ttf/SDL_ttf.h