HeightfieldStore

interface HeightfieldStore

Host storage for regenerable tiles, separate from the save store.

packages/workers/src/heightfieldCache.ts:48

Members

clear

clear() → Promise<void>

close

close() → void

Release the host's handle; a store that holds none has nothing to do.

read

read(key: string) → Promise<unknown>
keystring
Undocumented

remove

remove(key: string) → Promise<void>
keystring
Undocumented

stats

stats() → Promise<HeightfieldStoreStats>

write

write(record: HeightfieldCacheRecord) → Promise<boolean | void>

False means the tile exceeds the host quota and is deliberately not stored.

recordHeightfieldCacheRecord
Undocumented