Heightfields

class Heightfields

Heightfields through a preferred adapter and a fallback. Request ordering belongs to the caller; capability checks and retirement belong here.

A null submission means nobody supports the request. A null result means its producer retired and no fallback could finish it. Cancellation still rejects, and ordinary failures propagate without being retried.

packages/workers/src/heightfields.ts:28

Members

constructor

constructor(fallback: HeightfieldSource | null) → Heightfields
fallbackHeightfieldSource | null
Undocumented

preferred

preferred: HeightfieldSource | null

kindaccessor

kind() → string | null

The adapter a supported request prefers, for presentation diagnostics.

submit

submit(surface: SurfaceParameters, request: HeightfieldRequest) → JobHandle<HeightfieldResponse | null> | null
surfaceSurfaceParameters
Undocumented
requestHeightfieldRequest
Undocumented