createSceneSource
createSceneSource<
F,D>(options):CachedSceneSource<F,D>
Defined in: scene/create-source.ts:46
Builds a scene source from a load function. It caches each scene (a failed load is not cached,
so it is retried), answers isCached, and reloads what any explorer shows when you call
invalidate(). Implement SceneSource yourself only if your scenes are cached elsewhere.
Type Parameters
Section titled “Type Parameters”F
D = unknown
Parameters
Section titled “Parameters”options
Section titled “options”SceneSourceOptions<F, D>
Returns
Section titled “Returns”CachedSceneSource<F, D>