The rendering context.
(optional) The SDL_Texture to use.
Vertex positions.
Byte size to move from one element to the next element.
Vertex colors (as SDL_FColor).
Byte size to move from one element to the next element.
Vertex normalized texture coordinates.
Byte size to move from one element to the next element.
Number of vertices.
(optional) An array of indices into the 'vertices' arrays, if null all vertices will be rendered in sequential order.
Number of indices.
Index size: 1 (byte), 2 (short), 4 (int).
true on success or false on failure; call SDL_GetError for more information.
Threadsafety: This function should only be called on the main thread.
Render a list of triangles, optionally using a texture and indices into the vertex arrays Color and alpha modulation is done per vertex (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).