SDL Wiki

Vertex structure

Data Fields

SDL_FPoint

position

Vertex position, in SDL_Renderer coordinates

SDL_Color

color

Vertex color

SDL_FPoint

tex_coord

Normalized texture coordinates, if needed (Range from 0 to 1, i.ie for a 64x64px texture, beginning at 32x32px will be entered as 0.5,0,5)

SDL_FPoint
SDL_Color

CategoryStruct


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.