SDL_Vertex.3type - Man Page

Vertex structure.

Header File

Defined in SDL3/SDL_render.h

Synopsis

#include "SDL3/SDL.h"

typedef struct SDL_Vertex
{
    SDL_FPoint position;        /**< Vertex position, in SDL_Renderer coordinates  */
    SDL_FColor color;           /**< Vertex color */
    SDL_FPoint tex_coord;       /**< Normalized texture coordinates, if needed */
} SDL_Vertex;

Availability

This struct is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES