pub unsafe extern "C" fn SDL_RenderGeometryRaw(
    renderer: *mut SDL_Renderer,
    texture: *mut SDL_Texture,
    xy: *const f32,
    xy_stride: c_int,
    color: *const SDL_Color,
    color_stride: c_int,
    uv: *const f32,
    uv_stride: c_int,
    num_vertices: c_int,
    indices: *const c_void,
    num_indices: c_int,
    size_indices: c_int
) -> c_int
Expand description

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).

\param texture (optional) The SDL texture to use. \param xy Vertex positions \param xy_stride Byte size to move from one element to the next element \param color Vertex colors (as SDL_Color) \param color_stride Byte size to move from one element to the next element \param uv Vertex normalized texture coordinates \param uv_stride Byte size to move from one element to the next element \param num_vertices Number of vertices. \param indices (optional) An array of indices into the ‘vertices’ arrays, if NULL all vertices will be rendered in sequential order. \param num_indices Number of indices. \param size_indices Index size: 1 (byte), 2 (short), 4 (int) \return 0 on success, or -1 if the operation is not supported

\since This function is available since SDL 2.0.18.

\sa SDL_RenderGeometry \sa SDL_Vertex