[][src]Module egui::paint::tessellator

Converts graphics primitives into textured triangles.

This module converts lines, circles, text and more represented by PaintCmd into textured triangles represented by Triangles.

Structs

PathPoint
TesselationOptions

Tesselation quality options

Triangles

Textured triangles.

Vertex

The vertex type.

Enums

PathType
TextureId

What texture to use in a Triangles mesh.

Constants

WHITE_UV

The UV coordinate of a white region of the texture mesh. The default Egui texture has the top-left corner pixel fully white. You need need use a clamping texture sampler for this to work (so it doesn't do bilinear blending with bottom right corner).

Functions

tessellate_paint_commands

Turns PaintCmd:s into sets of triangles.

Type Definitions

PaintJob

A clip triangle and some textured triangles.

PaintJobs

Grouped by clip rectangles, in pixel coordinates