Module sdfer::esdt

source ·
Expand description

Rust port of the ESDT (“Euclidean Subpixel Distance Transform”) algorithm.

This algorithm was originally published as the @use-gpu/glyph npm package, and was described in https://acko.net/blog/subpixel-distance-transform/.

Structs

  • Opaque struct allowing buffer reuse between SDF computations, instead of reallocating all the buffers every time.

Functions