ReadonlydisposedWhether the backing WASM expression has been freed.
ReadonlyvalueThe wrapped WASM expression. Throws if the handle has been disposed.
Rasterize into a banded-SDF field over the expression's analytic bounds.
Optionalopts: VoxelFieldOptionsRasterize over explicit world bounds (clips unbounded primitives).
Optionalopts: VoxelFieldOptions
A disposable handle around an analytic SDF expression. Every combinator clones into a NEW wasm node and returns a NEW handle (the wasm
Sdfis a value, not a mutable builder), so anSdfHandleis immutable — the receiver stays valid and must be disposed independently.rasterizeproduces a banded-SDF VoxelFieldHandle you can boolean / offset / shell / contour.Dispose is mandatory: use
using, or call[Symbol.dispose](), to free the WASM expression tree. Intermediate handles in a chain (a.union(b).shell(t)) each own a wasm allocation; bind them tousingor dispose them explicitly.