SDL_Vertex(3type)

SDL_Vertex3type

Vertex structure.

Usage

#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;

Header file

Defined in SDL3/SDL_render.h

Availability

This struct is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.