I'm trying to figure out how to make Skia produce mesh from path geometry. I've checked SkPath::dump
, SkPath::writeToMemory
, SkPath::serialize
, however all of them seem to output path content rather than mesh.
Note: by mesh i mean triangle mesh produced by tessellation of path shape that can be later used to be rendered with non-vector graphical APIs, such as OpenGL / Vulkan. Something similar to output of ID2D1Geometry::Tessellate
.