Skip to main content

Module mesh

Module mesh 

Source
Expand description

Mesh gradients with analytic paint descriptors and explicit image baking.

Structs§

MeshGradient
A grid of colored control points blended smoothly across each cell.
MeshImage
A single-level linear-premultiplied image produced by MeshGradient::rasterize.
MeshPaint
A MeshGradient evaluated independently by each paint backend.
MeshPatch
Newton-free inverse-bilinear patch descriptor with straight Oklab and alpha.
MeshVertex
One lattice control point: a position in unit object space and its color.

Constants§

MAX_MESH_POINTS_PER_AXIS
Maximum control points along one axis of a MeshGradient.
MAX_MESH_SUBDIVISIONS
Maximum subdivisions per lattice cell edge when rasterizing a MeshGradient.