iced_graphics

Module mesh

Source
Expand description

Draw triangles!

Structs§

AttributeCount
The result of counting the attributes of a set of meshes.
GradientVertex2D
A vertex which contains 2D position & packed gradient data.
Indexed
A set of vertices and indices representing a list of triangles.
SolidVertex2D
A two-dimensional vertex with a color.

Enums§

Mesh
A low-level primitive to render a mesh of triangles.

Traits§

Renderer
A renderer capable of drawing a Mesh.

Functions§

attribute_count_of
Returns the number of total vertices & total indices of all Meshes.