ArchivedSource

interface ArchivedSource extends HeightfieldSource

A source the heightfield archive can keep tiles for: one that names its arithmetic.

archive is the producer and the revision of the arithmetic that made the tile, declared beside that arithmetic, so a change to it changes every key the source writes. The pool declares POOL_ARCHIVE; the GPU producer declares its kernel's revision, which stays manual because its output varies by adapter.

packages/workers/src/tasks.ts:433

Members

archivereadonly

archive: string

availablereadonly

available: boolean

kindreadonly

kind: string

'pool', 'gpu' — what ir.terrain().producer reports.

maxLevelreadonly

maxLevel?: number

The deepest region level this source produces; a request deeper than it goes to the pool instead. Absent means every level — the pool's own answer, and the default for a source that does not say.

submit

surfaceSurfaceParameters
Undocumented
requestHeightfieldRequest
Undocumented

supports

supports(request: HeightfieldRequest) → boolean

Additional request-shape limits, checked before submitting to this adapter.

requestHeightfieldRequest
Undocumented