Struct epaint::tessellator::Tessellator [−][src]
pub struct Tessellator { /* fields omitted */ }
Implementations
Tessellate a single Shape
into a Mesh
.
shape
: the shape to tessellateoptions
: tessellation qualitytex_size
: size of the font texture (required to normalize glyph uv rectangles)out
: where the triangles are putscratchpad_path
: if you plan to runtessellate_shape
many times, pass it a reference to the samePath
to avoid excessive allocations.