Optionalcompressv13+: deflate-raw compress geometry chunk records above the size floor (default true); off for byte inspection.
OptionalcompressUse one lazy browser module worker for geometry compression (default false). Requires Worker support and a bundled worker asset; failure rejects the write. Has no effect when compression is disabled or all chunks are below its floor.
OptionalincludeInclude geometry data (default: true)
OptionalincludeInclude spatial hierarchy (default: true)
OptionalomitSkip the header's full-file xxhash64(sourceBuffer): store sourceHash = 0n
and set HeaderFlags.SourceHashUnset. Use when the caller validates
the source by another means (e.g. an application-layer content hash), so a
large source pays NO full-file main-thread hash on write. Consumers that
would validate against the header (reader.validate() / read({ sourceBuffer })) can then detect the absence via CacheHeaderInfo.hasSourceHash instead of silently fail-closing. Default
false (the writer hashes the whole sourceBuffer, unchanged).
OptionalonThe meshes in the order the entry stores them (spatial chunks), which is the order a hit decodes them in.
OptionalyieldYield to the event loop after each section (default false): short tasks while the page is interactive.
Options for writing cache