voxolith

openSceneCacheOn()

openSceneCache on a store of your own: deletes the entries of every other salt, then returns makeSceneCache on it.

function openSceneCacheOn(
   store: CacheStore, 
   salt: string, 
   opts?: SceneCacheOptions
): Promise<SceneCache>;

Defined in: engine/src/worker/scene-cache.ts:312

Parameters

ParameterType
storeCacheStore
saltstring
opts?SceneCacheOptions

Returns

Promise<SceneCache>

On this page