Splats · type

SplatSortFn

How a sort actually happens.

Explained in Gaussian splats.

type SplatSortFn = (request: SplatSortRequest) => Promise<SplatSortResult>
import type { SplatSortFn } from '@driftengine/splats';

In depth

A capability the caller may replace, which is AGENTS.md's rule about platform APIs and not a convenience. The shipped default is a worker; a consumer under a strict CSP, in a test, or on a runtime with no Worker at all supplies its own and nothing here has to know.